Transitions on destroyed swiper #5569
-
I'm pretty new to this code base, so feel free to ignore this while I dig a bit deeper. That happens often in our React app because we're unmounting and mounting the Swiper when switching pages. I could get off easy by just contributing a I'm likely better off fixing the check that triggers the transition on a destroyed Swiper instance. We likely don't want any more transitions on a destroyed instance anyway. swiper/src/modules/thumbs/thumbs.js Line 212 in e641fd2 Does that reasoning make sense? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I'm testing out this patch-package file and it seems good:
|
Beta Was this translation helpful? Give feedback.
-
I created a PR to fix it permanently: #5582 But after digging deeper it seems like a perfect storm of rendering method, integration method and the tools used. Pretty edge case. |
Beta Was this translation helpful? Give feedback.
I created a PR to fix it permanently: #5582
But after digging deeper it seems like a perfect storm of rendering method, integration method and the tools used. Pretty edge case.