Closed
Description
The Line 166 in src/modules/viewport.js causes the jumping.
When having a limit of index 1 as the top then the mentioned line forces a padding to be added
to viewport.scrollTop
, since paddingHeight
is negative. This scrolls the viewport down again, while the user scrolls up, which causes the jumping.
When this line is removed everything works as expected when having a lower limit. On the other hand without a lower limit, ui-scroll
will fetch new items indefinitely.
There should be a check which only executes that line when the beginning (buffer.bof === false
) was not reached.
Metadata
Metadata
Assignees
Labels
No labels