Open JavoByte opened 4 months ago
https://codesandbox.io/p/devbox/swiper-react-thumbs-gallery-forked-6j6tf2?file=%2Fsrc%2Fmain.jsx%3A7%2C37
Running the Thumbs example using StrictMode and hydrateRoot breaks with Cannot convert undefined or null to object. It seems this is due to Swiper instance being destroyed.
StrictMode
hydrateRoot
Cannot convert undefined or null to object
Thumbs works in strict mode
No response
11.1.3
macOS Chrome
same issue
Check that this is really a bug
Reproduction link
https://codesandbox.io/p/devbox/swiper-react-thumbs-gallery-forked-6j6tf2?file=%2Fsrc%2Fmain.jsx%3A7%2C37
Bug description
Running the Thumbs example using
StrictMode
andhydrateRoot
breaks withCannot convert undefined or null to object
. It seems this is due to Swiper instance being destroyed.Expected Behavior
Thumbs works in strict mode
Actual Behavior
No response
Swiper version
11.1.3
Platform/Target and Browser Versions
macOS Chrome
Validations
Would you like to open a PR for this bug?