When mouse up, content goes back to initial position
devmotionfr opened this issue · 2 comments
devmotionfr commented
When mouse up, content goes back to initial position
devmotionfr commented
I used another plugin cause I couldn't make scrollbooster work as I wanted
scriptype commented
I was losing my mind over this, but I realized that I'm initializing ScrollBooster more than one time on the same viewport
element.
This was due to re-rendering a component without re-creating its container (only refreshing inside), but the container was supposed to be the viewport of ScrollBooster. So it kept getting re-initialized over the same element.
Sharing this for the people of future.