Ensure Consistent Subrow Count Across Ranges to Fix UI Scrolling Issues #66
-
ProblemThe number of subrows changes based on the range, this can cause UI issues when scrolling through a range. See how in the video bellow the number of rows is jumping around, it should stay consistent even when some events are out of range. The biggest issue is that events will also jump sub-rows. Screen.Recording.2024-12-23.at.10.13.25.movThere should be a way of knowing how many subrows there are all-together. SolutionAn option on You could not include Any ideas would be greatly appreciated thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey! |
Beta Was this translation helpful? Give feedback.
Hey!
groupItemsToSubrows
does not perform any filtering.Why not group all items into subrows, or at least all items in a sufficient range (the
span
prop is optional), and then render only items that intersect with the current visible range?It will create all the required subrows, and render them, but only render the actually visible items.