Browse Source

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

* commit '10d619b4608f2a746ab42894633479b0e29d2989':
  BI-48784 fix: 跟chrome表现一致,需要nextTick
es6
imp 5 years ago
parent
commit
56c53e6446
  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);
fn();
BI.nextTick(fn);
} else {
if (!element.__resizeTriggers__) {
if (getComputedStyle(element).position === "static") element.style.position = "relative";

Loading…
Cancel
Save