Browse Source

Pull request #206005: REPORT-84106 fix: sticky bug

Merge in DEC/fineui from ~DAILER/fineui-decision-build:final/11.0 to final/11.0

* commit '37177d749db929885af06ae12bf222431f3bf809':
  REPORT-84106 fix: sticky bug
  REPORT-84106 fix: sticky bug
research/test
Dailer-刘荣歆 2 years ago
parent
commit
4422255f1a
  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