Transition to initial position
See original GitHub issueThere is toggle button, click it few times. You would notice that every time when lists appears, there is transition to initial position in the first list. This transition reproduces with small amount of items, when full width of all items is smaller than viewport of list’s width. Second list does not have this transition.
It’s very noticeable on my project because I use react-horizontal-scrolling-menu in rows that are rendered by ReactList. So every time I scroll the page, new react-horizontal-scrolling-menu elements renders and transition animation appears. How do you think, is it possible to set initial position statically without transition?
btw in second list I’ve used
scrollToSelected
selected="item6"
and item 6 indeed appeared in the viewport, but not in center. This is not so important, just let you know.
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (6 by maintainers)
Top GitHub Comments
Can you check now? Seems like it works ok.
I didn’t