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

carousel with "slide-per-page" is not working properly in rtl documents #1989

Open
babakdevgeek opened this issue Apr 22, 2024 · 1 comment
Labels
bug Things that aren't working right in the library.

Comments

@babakdevgeek
Copy link

Describe the bug

A bug is a demonstrable problem caused by code in the library. Please provide a clear and concise description of what the bug is here.

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '...'
  4. See error

Demo

If the bug isn't obvious, please provide a link to a CodePen or Fiddle with a minimal reproduction. Bugs that have repros get attention faster than those that don't.

Tip: use the CodePen button on any example in the docs!

Screenshots

If applicable, add screenshots to help explain the bug.

Browser / OS

  • OS: [e.g. Mac, Windows]
  • Browser: [e.g. Chrome, Firefox, Safari]
  • Browser version: [e.g. 22]

Additional information

Provide any additional information about the bug here.

@babakdevgeek babakdevgeek added the bug Things that aren't working right in the library. label Apr 22, 2024
@KonnorRogers KonnorRogers changed the title carousel is not working properly in rtl documents carousel with "slide-per-page" is not working properly in rtl documents Apr 22, 2024
@KonnorRogers
Copy link
Collaborator

To add on here:

The issue seems to come from slides-per-page attribute. It causes very funky behavior in RTL documents, and even in LTR documents, I noticed slides-per-page has an issue when you get to the end of the carousel, it doesn't wrap back to the beginning.

Codepen here:

https://codepen.io/paramagicdev/pen/abxPVBj

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Things that aren't working right in the library.
Projects
None yet
Development

No branches or pull requests

2 participants