-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
New issue
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
[BUG] Virtual slider not rendering if initialSlide={1}
#7699
Closed
5 of 6 tasks
Profesor08 opened this issue
Aug 23, 2024
· 1 comment
· Fixed by lucentlabz/usaspending-website#19 · 4 remaining pull requests
Closed
5 of 6 tasks
[BUG] Virtual slider not rendering if initialSlide={1}
#7699
Profesor08 opened this issue
Aug 23, 2024
· 1 comment
· Fixed by lucentlabz/usaspending-website#19 · 4 remaining pull requests
Labels
Comments
Current workaround is to force swiper to update after mounting or on any other condition when bug appears |
This was referenced Sep 19, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Check that this is really a bug
Reproduction link
https://codesandbox.io/p/devbox/swiper-react-virtual-slides-forked-z5jks2
Bug description
If you use virtual slides and want manage
initialSlide
by some logic, slides will not render ifinitialSlide
becomes equal to1
Expected Behavior
Slides to render
Actual Behavior
Slides not rendering
Swiper version
11.1.10
Platform/Target and Browser Versions
Windows 11, Chrome latest
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: