We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://codesandbox.io/p/devbox/error-when-unmount-swiper-on-resize-693vwm
When unmounting a Swiper with loop={true} on a window resize event the following error is thrown by Swiper:
loop={true}
Uncaught TypeError: Cannot read properties of undefined (reading 'slidesPerGroupSkip') at _Swiper.slideTo
No uncaught errors should be thrown when unmounting Swiper.
An uncaught error is thrown when unmounting Swiper.
11.0.5
macOS, Windows, iOS, Android, Safari, Chrome, Edge, Firefox
The text was updated successfully, but these errors were encountered:
I have this issue too, causing my swiper to not work on mobile
Sorry, something went wrong.
05f9c64
Successfully merging a pull request may close this issue.
Check that this is really a bug
Reproduction link
https://codesandbox.io/p/devbox/error-when-unmount-swiper-on-resize-693vwm
Bug description
When unmounting a Swiper with
loop={true}
on a window resize event the following error is thrown by Swiper:Uncaught TypeError: Cannot read properties of undefined (reading 'slidesPerGroupSkip') at _Swiper.slideTo
Expected Behavior
No uncaught errors should be thrown when unmounting Swiper.
Actual Behavior
An uncaught error is thrown when unmounting Swiper.
Swiper version
11.0.5
Platform/Target and Browser Versions
macOS, Windows, iOS, Android, Safari, Chrome, Edge, Firefox
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: