Browse Source

Merge pull request #1048 in VISUAL/fineui from ~IMP/fineui_fui:master to master

* commit '10e7946d037c61eac9661364586b371f384eaaa6':
  BI-48784 fix: resize立即执行
es6
guy 5 years ago
parent
commit
ccd7cf98db
  1. 2
      src/core/platform/web/detectElementResize.js

2
src/core/platform/web/detectElementResize.js

@ -114,7 +114,7 @@
var addResizeListener = function (element, fn) {
if (attachEvent) {
element.attachEvent("onresize", fn);
BI.defer(fn);
fn();
} else {
if (!element.__resizeTriggers__) {
if (getComputedStyle(element).position === "static") element.style.position = "relative";

Loading…
Cancel
Save