From 2e131af6630560df79aa7068eb797d512c8f6ba5 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Fri, 22 Oct 2021 16:51:13 +0800 Subject: [PATCH 1/4] =?UTF-8?q?BI-95902=20fix:=20=E5=85=BC=E5=AE=B9?= =?UTF-8?q?=E4=B8=80=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/1.pane.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/base/1.pane.js b/src/base/1.pane.js index 5bbecf5da..5d2dfe89a 100644 --- a/src/base/1.pane.js +++ b/src/base/1.pane.js @@ -150,3 +150,4 @@ BI.Pane = BI.inherit(BI.Widget, { }); BI.Pane.EVENT_LOADED = "EVENT_LOADED"; BI.Pane.EVENT_LOADING = "EVENT_LOADING"; +BI.LoadingPane = BI.Pane; From 726cc02372e02e972f502301b471656a8f4accf1 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Fri, 22 Oct 2021 16:57:55 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/1.pane.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/base/1.pane.js b/src/base/1.pane.js index 5d2dfe89a..5bbecf5da 100644 --- a/src/base/1.pane.js +++ b/src/base/1.pane.js @@ -150,4 +150,3 @@ BI.Pane = BI.inherit(BI.Widget, { }); BI.Pane.EVENT_LOADED = "EVENT_LOADED"; BI.Pane.EVENT_LOADING = "EVENT_LOADING"; -BI.LoadingPane = BI.Pane; From dbdb98dec353a8d41c3694c329bcabc770c681cc Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Wed, 27 Oct 2021 19:28:59 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20virtualgr?= =?UTF-8?q?ouplist=E6=BB=9A=E5=8A=A8=E8=B7=B3=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/list/virtualgrouplist.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/base/list/virtualgrouplist.js b/src/base/list/virtualgrouplist.js index 56dd68bb1..853881dac 100644 --- a/src/base/list/virtualgrouplist.js +++ b/src/base/list/virtualgrouplist.js @@ -55,8 +55,16 @@ BI.VirtualGroupList = BI.inherit(BI.Widget, { mounted: function () { var self = this, o = this.options; this._populate(); + this._debounceRelease = BI.debounce(function () { + self._scrollLock = false; + }, 30); this.element.scroll(function (e) { + if (self._scrollLock === true) { + return; + } + this._scrollLock = true; o.scrollTop = self.element.scrollTop(); + self._debounceRelease(); self._calculateBlocksToRender(); }); BI.ResizeDetector.addResizeListener(this, function () { From 19d2e59714cc8a65eda2a6fec34503b8b843a775 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Wed, 27 Oct 2021 19:30:58 +0800 Subject: [PATCH 4/4] update --- src/base/list/virtualgrouplist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/list/virtualgrouplist.js b/src/base/list/virtualgrouplist.js index 853881dac..95ed647e0 100644 --- a/src/base/list/virtualgrouplist.js +++ b/src/base/list/virtualgrouplist.js @@ -62,7 +62,7 @@ BI.VirtualGroupList = BI.inherit(BI.Widget, { if (self._scrollLock === true) { return; } - this._scrollLock = true; + self._scrollLock = true; o.scrollTop = self.element.scrollTop(); self._debounceRelease(); self._calculateBlocksToRender();