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
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.
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: