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
I use swiper with FreeMode to create tooltip dropdown with a scrolling list.
If we wait until the scroll is finished and then close the dropdown then everything will be fine, but if we close the dropdown before the scroll is finished - we get an error "Cannot read properties of undefined (reading 'speed')"
This bug we can reproduced for example with mousewheel scrolling
Add video files with emulating this problem in codesandbox
zapis-ekrana-2024-07-29-v-111528_aVeaAa5J.mp4
Expected Behavior
No error after closing dropdown with unfinished scrolling
Actual Behavior
Error "Cannot read properties of undefined (reading 'speed')" after closing dropdown with unfinished scrolling
Check that this is really a bug
Reproduction link
https://codesandbox.io/p/sandbox/swiper-trouble-with-scrolling-in-free-mode-f43ygm?file=%2Fsrc%2FApp.tsx
Bug description
I use swiper with FreeMode to create tooltip dropdown with a scrolling list.
If we wait until the scroll is finished and then close the dropdown then everything will be fine, but if we close the dropdown before the scroll is finished - we get an error "Cannot read properties of undefined (reading 'speed')"
This bug we can reproduced for example with mousewheel scrolling
Add video files with emulating this problem in codesandbox
zapis-ekrana-2024-07-29-v-111528_aVeaAa5J.mp4
Expected Behavior
Actual Behavior
Swiper version
11.1.1
Platform/Target and Browser Versions
Chrome 126.0.6478.183
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: