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
Since a recent commit to the RecycleScroller, no update event is emitted if the user scrolls away from the startIndex less than the minItemSize. But for large rows, this minItemSize can be larger than the height of the scroller, so when scrolling to the bottom of the first row (making the second row visible) no update event is triggered.
This is not a problem when increasing the buffer prop to at least the row height, but it should be handled automatically by the component.
Reproduction
Scroll to the second row for rows of height larger than the height of the scroller/page. Observe that the initially emitted update has an end index of 1 and no new update event is emitted when reaching the second row.
Increased the buffer so that the end index of the first scroll event is
at least 2. There exists a piece of code in the Recycle scroller which
prevents an update event to be emitted when the user scrolls less than a
row height. So when scrolling to the second row it should already be
loaded (i.e. the first emitted end index should be 2). The change can be
reverted when Akryum/vue-virtual-scroller#834
is resolved.
UIEXT-1346 (Adjust max table height logic to account for row height)
Increased the buffer so that the end index of the first scroll event is
at least 2. There exists a piece of code in the Recycle scroller which
prevents an update event to be emitted when the user scrolls less than a
row height. So when scrolling to the second row it should already be
loaded (i.e. the first emitted end index should be 2). The change can be
reverted when Akryum/vue-virtual-scroller#834
is resolved.
UIEXT-1346 (Adjust max table height logic to account for row height)
Describe the bug
Since a recent commit to the RecycleScroller, no update event is emitted if the user scrolls away from the startIndex less than the minItemSize. But for large rows, this minItemSize can be larger than the height of the scroller, so when scrolling to the bottom of the first row (making the second row visible) no update event is triggered.
This is not a problem when increasing the buffer prop to at least the row height, but it should be handled automatically by the component.
Reproduction
Scroll to the second row for rows of height larger than the height of the scroller/page. Observe that the initially emitted update has an end index of 1 and no new update event is emitted when reaching the second row.
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: