Browse Source

Merge pull request #206009 in DEC/fineui from final/11.0 to release/11.0

* commit '4422255f1af59a86f118fbb2d3a0e16568f4f2a1':
  REPORT-84106 fix: sticky bug
  REPORT-84106 fix: sticky bug
research/test
superman 2 years ago
parent
commit
df77a4ab69
  1. 2
      src/core/wrapper/layout/sticky/sticky.horizontal.js
  2. 2
      src/core/wrapper/layout/sticky/sticky.vertical.js

2
src/core/wrapper/layout/sticky/sticky.horizontal.js

@ -22,7 +22,7 @@ BI.HorizontalStickyLayout = BI.inherit(BI.FlexHorizontalLayout, {
} }
if (columnSize !== "fill") { if (columnSize !== "fill") {
var fillIndex; var fillIndex;
BI.count(0, o.items.length - 1, index => { BI.count(0, o.items.length, index => {
if (BI.isNotNull(fillIndex)) { if (BI.isNotNull(fillIndex)) {
return; return;
} }

2
src/core/wrapper/layout/sticky/sticky.vertical.js

@ -22,7 +22,7 @@ BI.VerticalStickyLayout = BI.inherit(BI.FlexVerticalLayout, {
} }
if (rowSize !== "fill") { if (rowSize !== "fill") {
var fillIndex; var fillIndex;
BI.count(0, o.items.length - 1, index => { BI.count(0, o.items.length, index => {
if (BI.isNotNull(fillIndex)) { if (BI.isNotNull(fillIndex)) {
return; return;
} }

Loading…
Cancel
Save