From ca927add435e51861daf2b2b24e1c605accdc6e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dailer-=E5=88=98=E8=8D=A3=E6=AD=86?= Date: Thu, 10 Nov 2022 17:09:20 +0800 Subject: [PATCH 1/2] REPORT-84106 fix: sticky bug (cherry picked from commit c9b2260f04948f87255fbe873297a0051e56a288) --- src/core/wrapper/layout/sticky/sticky.vertical.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/wrapper/layout/sticky/sticky.vertical.js b/src/core/wrapper/layout/sticky/sticky.vertical.js index beb0e9d43..71dc3ed8c 100644 --- a/src/core/wrapper/layout/sticky/sticky.vertical.js +++ b/src/core/wrapper/layout/sticky/sticky.vertical.js @@ -22,7 +22,7 @@ BI.VerticalStickyLayout = BI.inherit(BI.FlexVerticalLayout, { } if (rowSize !== "fill") { var fillIndex; - BI.count(0, o.items.length - 1, index => { + BI.count(0, o.items.length, index => { if (BI.isNotNull(fillIndex)) { return; } From 37177d749db929885af06ae12bf222431f3bf809 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dailer-=E5=88=98=E8=8D=A3=E6=AD=86?= Date: Thu, 10 Nov 2022 17:09:49 +0800 Subject: [PATCH 2/2] REPORT-84106 fix: sticky bug (cherry picked from commit 60bba354474ff079148855fa8808d24657f9e0cf) --- src/core/wrapper/layout/sticky/sticky.horizontal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/wrapper/layout/sticky/sticky.horizontal.js b/src/core/wrapper/layout/sticky/sticky.horizontal.js index afdf955aa..d88f28b6d 100644 --- a/src/core/wrapper/layout/sticky/sticky.horizontal.js +++ b/src/core/wrapper/layout/sticky/sticky.horizontal.js @@ -22,7 +22,7 @@ BI.HorizontalStickyLayout = BI.inherit(BI.FlexHorizontalLayout, { } if (columnSize !== "fill") { var fillIndex; - BI.count(0, o.items.length - 1, index => { + BI.count(0, o.items.length, index => { if (BI.isNotNull(fillIndex)) { return; }