Browse Source

Pull request #3177: BI-116192 动态列表不可见状态下resize问题

Merge in VISUAL/fineui from ~WINDY/fui:master to master

* commit 'accde7ee707d0ee1b8ed1bf3f4125a94a2b83005':
  BI-116192 动态列表不可见状态下resize问题
  无JIRA任务 单选下拉值0选中trigger不显示
es6
windy-许昊 2 years ago
parent
commit
51a16b306e
  1. 2
      src/core/platform/web/detectElementResize.js

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

@ -553,7 +553,7 @@ var ResizeObserver = window.ResizeObserver || ResizeObserverPolyfill.ResizeObser
if (!element.__resizeObserver__) {
var resizeObserver = new ResizeObserver(function () {
element.__resizeListeners__.forEach(function (listener) {
listener();
BI.$(element).is(":visible") && listener();
});
});
resizeObserver.observe(element);

Loading…
Cancel
Save