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
When user scrolls swiper with mouse\trackpad and when main part of scroll is done Swiper almost every time does a little movement in the same direction as scroll and then back. Looks very meh.
It reproduces with mousewheel + freemode(sticky) in in vertical mode. Drag and touch swipes are fine.
For me it looks like the error in mousewheel when you calculate scroll poisition and etc you may emit some phantom scroll event with some scroll momentum left and it scrolls a bit with the same direction and then goes back as expected.
Check that this is really a bug
Reproduction link
https://codesandbox.io/p/sandbox/swiper-freemode-forked-r569rk?file=%2Findex.html%3A91%2C10
Bug description
When user scrolls swiper with mouse\trackpad and when main part of scroll is done Swiper almost every time does a little movement in the same direction as scroll and then back. Looks very meh.
It reproduces with mousewheel + freemode(sticky) in in vertical mode. Drag and touch swipes are fine.
For me it looks like the error in mousewheel when you calculate scroll poisition and etc you may emit some phantom scroll event with some scroll momentum left and it scrolls a bit with the same direction and then goes back as expected.
Expected Behavior
To stop at snap point rock steady and solid.
Actual Behavior
Screen.Recording.2024-10-19.at.12.15.58.AM.Trimmed.mov
Swiper version
11.1.14
Platform/Target and Browser Versions
MacOS Brave Version 1.68.141 Chromium: 127.0.6533.120 (Official Build) (arm64)
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: