You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, thanks for an excellent library and great community!
I figured out an issue and need help finding a way to solve it.
I have a list with the changeable size of elements by clicking on the button. I want to keep the user on the same scroll position, although the element's dimensions have changed.
It will work well until you scroll down to somewhere row number 7k, for example. And if you try to switch between small/medium sizes you can catch the issue at some moment, and it will change the scroll position to totalSize from the "small" view despite the fact that you have selected the "medium."
Looks like I'm doing something wrong. Appreciate for any help
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey, thanks for an excellent library and great community!
I figured out an issue and need help finding a way to solve it.
I have a list with the changeable size of elements by clicking on the button. I want to keep the user on the same scroll position, although the element's dimensions have changed.
I prepared an example: codesandbox
It will work well until you scroll down to somewhere row number 7k, for example. And if you try to switch between small/medium sizes you can catch the issue at some moment, and it will change the scroll position to totalSize from the "small" view despite the fact that you have selected the "medium."
Looks like I'm doing something wrong. Appreciate for any help
Beta Was this translation helpful? Give feedback.
All reactions