* commit 'd6b36b31cfa8712cd576f3305c698b11943fe661': BI-116192 动态列表不可见状态下resize问题
@ -55,6 +55,9 @@ BI.ListView = BI.inherit(BI.Widget, {
var lastWidth = this.element.width(),
lastHeight = this.element.height();
BI.ResizeDetector.addResizeListener(this, function () {
if (!self.element.is(":visible")) {
return;
}
var width = self.element.width(),
height = self.element.height();
if (width !== lastWidth || height !== lastHeight) {
@ -74,7 +74,9 @@ BI.VirtualGroupList = BI.inherit(BI.Widget, {
});
if (self.element.is(":visible")) {
self._calculateBlocksToRender();
},
@ -61,7 +61,9 @@ BI.VirtualList = BI.inherit(BI.Widget, {