Retain scrollposition when using a rowvirtualizer
I am trying to build a kanban layout and I am coupling column virtualizer for sections and row virtualizer for cards in a section.
Say, I scroll down a bit on a particular section and I scroll away to the right. This will result in that particular section getting removed from the dom.
When I scroll left and get back to that particular section, the section's scrolltop is reset to 0. I would ideally like to retain that scroll position and the last rendered virtual items of that section.
What is the best way to achieve this ?
0 Replies