swiper
swiper copied to clipboard
BUTTON tag inside slide snaps to next slide on click
Check that this is really a bug
- [X] I confirm
Reproduction link
https://codesandbox.io/s/swiper-slides-per-view-forked-pnqu3l?file=/index.html
Bug description
when I use button tag inside a slide when I do a click on the tag it slide without animation to the next slide.
Expected Behavior
nothing
Actual Behavior
slides to the next slide without animating
Swiper version
8.0.6
Platform/Target and Browser Versions
Windows, Chrome
Validations
- [x] Follow our Code of Conduct
- [X] Read the docs.
- [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
- [X] Make sure this is a Swiper issue and not a framework-specific issue
Would you like to open a PR for this bug?
- [ ] I'm willing to open a PR
Same problem
Found the answer here : https://github.com/nolimits4web/Swiper/issues/3149#issuecomment-1044631964
Setting watchSlideProgress
to true
fixed the problem for our use case.
Also possibly related to #5437
confirm the problem
have the same problem.......
same here
Found the answer here : #3149 (comment) Setting
watchSlideProgress
totrue
fixed the problem for our use case.Also possibly related to #5437
omg need to set watchSlidesProgress
to true
. watchSlideProgress
doesnt exist...
I can confirm the problem. watchSlidesProgress
does not fix it for me.
Found the answer here : #3149 (comment) Setting
watchSlideProgress
totrue
fixed the problem for our use case.omg need to set
watchSlidesProgress
totrue
.watchSlideProgress
doesnt exist...
@nolimits4web True story! Seems to have slide out of the code