Browse Source

Merge pull request #3210 in VISUAL/fineui from DEC/fineui:release/11.0 to master

* commit 'df77a4ab69423dcf2ae18a04a8806fa37aa5c904':
  REPORT-84106 fix: sticky bug
  REPORT-84106 fix: sticky bug
es6
Aeolus.Zhang-张敬峥 2 years ago
parent
commit
44cbf116c4
  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