react-tiny-virtual-list icon indicating copy to clipboard operation
react-tiny-virtual-list copied to clipboard

CSS Scroll Direction Support

Open hungrysquirrel opened this issue 7 years ago • 0 comments

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.

Jan-22-2018 15-58-53.mp4.zip

hungrysquirrel avatar Jan 23 '18 00:01 hungrysquirrel