react-tiny-virtual-list
react-tiny-virtual-list copied to clipboard
CSS Scroll Direction Support
I am using this lovely component and have used the prop scrollDirection="horizontal"
.
However, I am also wanting to change the CSS prop direction: rtl
so that the scroll direction begins on the right.
When the VirtualList component renders initially with that CSS property set it renders blank contents until I scroll a little bit...which causes the component to update so it knows where to place the relevant DOM.
Do you have any recommendations on how I can fix this blank blip?
Nice-to-have would be to some how have the overscanCount
know about this change in the content flow.
Video file to help explain my issue/request.