Browse Source

Merge pull request #206010 in DEC/fineui from release/11.0 to feature/x

* commit 'df77a4ab69423dcf2ae18a04a8806fa37aa5c904':
  REPORT-84106 fix: sticky bug
  REPORT-84106 fix: sticky bug
master
superman 2 years ago
parent
commit
b65be3920e
  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") {
var fillIndex;
BI.count(0, o.items.length - 1, index => {
BI.count(0, o.items.length, index => {
if (BI.isNotNull(fillIndex)) {
return;
}

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

Loading…
Cancel
Save