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 think I ran into a bug, that has never occurred to me before the update:
I have a swiper with a progressbar and when I call swiper.destroy() on it I get an error in the console:
I checked it in the demo and just pasted setTimeout(() => {swiper.destroy();}, 3000); at line 100 after the swiper init.
If it has bullets it all works fine.
(note that the screenshot is from my project, not the demo, just to avoid confusion)
Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Make sure this is a Swiper issue and not a framework-specific issue
Would you like to open a PR for this bug?
I'm willing to open a PR
The text was updated successfully, but these errors were encountered:
Joscha95
changed the title
swiper.destroy() not working with progressbar in swiper7
swiper.destroy() throwing Error with progressbar in swiper7
Aug 25, 2021
Check that this is really a bug
Reproduction link
https://codesandbox.io/s/swiper-pagination-progress-forked-6nbel?file=/index.html:2544-2604
Bug description
I think I ran into a bug, that has never occurred to me before the update:
I have a swiper with a progressbar and when I call swiper.destroy() on it I get an error in the console:
I checked it in the demo and just pasted
setTimeout(() => {swiper.destroy();}, 3000);
at line 100 after the swiper init.If it has bullets it all works fine.
(note that the screenshot is from my project, not the demo, just to avoid confusion)
Expected Behavior
No response
Actual Behavior
No response
Swiper version
7.0.0
Platform/Target and Browser Versions
Safari 14.0.1
Firefox 91.0.2
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: