-
-
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
Closing a modal changes active slide and breaks loop mode #7540
Closed
5 of 6 tasks
mdmontesinos opened this issue
May 17, 2024
· 1 comment
· May be fixed by matolres/nila-c#4, shwetagund/Angular-Login-Dashboard-#4, MohammadGhajari/information-security#13, akashkumar8115/AspireNex_web-scraping-ecommerce-websites-#4 or WontonSam/rax-components#184
Closed
5 of 6 tasks
Closing a modal changes active slide and breaks loop mode #7540
mdmontesinos opened this issue
May 17, 2024
· 1 comment
· May be fixed by matolres/nila-c#4, shwetagund/Angular-Login-Dashboard-#4, MohammadGhajari/information-security#13, akashkumar8115/AspireNex_web-scraping-ecommerce-websites-#4 or WontonSam/rax-components#184
Comments
Thanks for the quick fix!! Any estimated date for the release? |
This was referenced Jul 6, 2024
This was referenced Aug 14, 2024
This was referenced Sep 10, 2024
This was referenced Sep 18, 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/sandbox/swiper-element-boostrap-modal-x5535x
Bug description
I have a swiper that shows multiple slides per view, and when clicking the anchor inside the slide, a boostrap modal is triggered. However, when clicking a slide that is not the central one and closing the modal, the active slide is changed to the one that triggered the modal. Also, if it is the last one, loop mode completely breaks and no next slide is shown.
The boostrap modal is not inside the swiper-container.
Here's a demo video from the codesandbox I provided:
screen-capture.webm
Expected Behavior
Closing a modal should not change the current active slide.
Actual Behavior
No response
Swiper version
11.1.3
Platform/Target and Browser Versions
Windows 10, Chrome 124
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: