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] 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; }