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
If you make the content of a slide a element that is full width/height for the slide then you are unable to use drag to slide.
You can make it work if you edit the focusableElements to remove button but my understanding is that is only for when a button is focused not generally.
Expected Behavior
I can drag the slides regardless of the content type.
Actual Behavior
unable to drag when on a slide, you can drag though in the gaps between.
Swiper version
Codesandbox using 10.0.0 but I also tested against 11.2.1
Check that this is really a bug
Reproduction link
https://codesandbox.io/p/sandbox/swiper-react-slides-per-view-forked-g89j9d
Bug description
If you make the content of a slide a element that is full width/height for the slide then you are unable to use drag to slide.
You can make it work if you edit the
focusableElements
to removebutton
but my understanding is that is only for when a button is focused not generally.Expected Behavior
I can drag the slides regardless of the content type.
Actual Behavior
unable to drag when on a slide, you can drag though in the gaps between.
Swiper version
Codesandbox using 10.0.0 but I also tested against 11.2.1
Platform/Target and Browser Versions
macOs chrome
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: