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
When using Swiper 9 with Virtual slides enabled on a NextJS website you get an error saying that the document is not defined. Swiper 9 does work with NextJs when Virtual slides are not enabled.
Virtual slides with NextJs worked on version 8.4.6 without issue.
Expected Behavior
Swiper 9 should work in Virtual mode when using Next.js
Check that this is really a bug
Reproduction link
https://codesandbox.io/p/sandbox/vigilant-meninsky-iedpus?file=%2Fpages%2Findex.tsx&selection=%5B%7B%22endColumn%22%3A59%2C%22endLineNumber%22%3A19%2C%22startColumn%22%3A59%2C%22startLineNumber%22%3A19%7D%5D
Bug description
When using Swiper 9 with Virtual slides enabled on a NextJS website you get an error saying that the
document
is not defined. Swiper 9 does work with NextJs when Virtual slides are not enabled.Virtual slides with NextJs worked on version 8.4.6 without issue.
Expected Behavior
Swiper 9 should work in Virtual mode when using Next.js
Actual Behavior
Full error:
Swiper version
9.0.0
Platform/Target and Browser Versions
Windows
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: