Skip to content
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

bootstrap v5 - carousel on mobile touch swipe directions are inverted #33683

Closed
kimmanwky opened this issue Apr 19, 2021 · 1 comment
Closed

Comments

@kimmanwky
Copy link

kimmanwky commented Apr 19, 2021

Bootstrap Carousel on mobile touch swipe directions are inverted.

Used bootstrap version - 5.0.0-beta3
https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/css/bootstrap.min.css
https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/js/bootstrap.bundle.min.js

Current behaviour:

  1. swipe to left, slide/change to preview item
  2. swipe to right, slide/change to next item

Expected behaviour:

  1. swipe to left should go to next item
  2. swipe to right should go to previous item

Proposed solution:

  1. change the touch deviced swiping behaviour according to expected behaviour, or
  2. add something like inverted properties to enabled 'inverted swipe direction or behaviour'
@alpadev
Copy link
Contributor

alpadev commented Apr 19, 2021

Duplicate of #33655 #33657
Fixed by #33499

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants