-
-
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
Swiper shows slide 2 unexpetedly #5006
Labels
Comments
Yeah, seems like that line came from local testing. PR to remove it is welcome 🙂 |
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/s/swiper-infinite-loop-angular-forked-y85mt?file=/src/app/app.component.ts
Bug description
Under certain circumstances, slide no2 will be shown instead of the correct slide. This seems to be connected to the (now deprecated) [(index)] attribute.
This bug appears with the change from v7.0.5 -> v7.0.6
This looks like the offending line. I'm happy to do a PR but am not sure if the line can just be removed or if there's a greater context I'm missing
Expected Behavior
The slide at the given index should be displayed
Actual Behavior
Slide no2 is displayed
Swiper version
7.0.6
Platform/Target and Browser Versions
tested on iPadOS Safari 15 & Chrome Version 93.0.4577.82 (Official Build) (64-bit)
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: