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
Of course, this is the behavior of the API itself, I just raised a question to discuss, maybe there is a JS-API that can temporarily release the scroll snap?
This reminds me "scroll-behavior: smooth" which some pages uses and it is also interfering with the scrolling.
In that case I'm simply overriding it completely once user starts scrolling and not reverting it (I think I was just lazy to implement the revert since I would have to await the "momentum" to finish scrolling, so not just on mouse up. Plus people are unlikely to notice the scroll behavior change.).
So in this case I should probably also disable it but also re-enable it once the scrolling is done (including momentum) which should then align scroll position to the correct snap position.
I'll see what I can do once I start working on a new release :)
Thank you for reporting this!
Thanks for the reply!
For this case, I don't think the impact is big, so it doesn't matter if you don't do anything, Just knowing the problem is enough ^_^
If you want to do anything, you should add an additional configuration option, otherwise I'm afraid it will create new bugs or performance issues. @Juraj-Masiar
The text was updated successfully, but these errors were encountered: