You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At line 187 you check for maxStart in a way that assumes your items[] will always be evenly divisible by the number of items in each row. This causes the data to "jump" once you scroll to the bottom.
The fix for this is to adjust maxStart so that this doesn't happen.
let maxStartEnd = end;
let modEnd = end % d.itemsPerRow;
if(modEnd) {
maxStartEnd = end + d.itemsPerRow - modEnd;
}
var maxStart = Math.max(0, maxStartEnd - d.itemsPerCol * d.itemsPerRow - d.itemsPerRow);
The text was updated successfully, but these errors were encountered:
At line 187 you check for maxStart in a way that assumes your items[] will always be evenly divisible by the number of items in each row. This causes the data to "jump" once you scroll to the bottom.
The fix for this is to adjust maxStart so that this doesn't happen.
The text was updated successfully, but these errors were encountered: