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 - pagination sync broken after using dots indicators #2213

Open
Powerplex opened this issue Jan 30, 2025 · 0 comments
Open

Carousel - pagination sync broken after using dots indicators #2213

Powerplex opened this issue Jan 30, 2025 · 0 comments

Comments

@Powerplex
Copy link

🐛 Bug report

Pagination in the carousel is messed up when going from clicking on the dots indicators to scrolling in the carousel (trackpad).

💥 Steps to reproduce

  1. Go to https://ark-ui.com/react/docs/components/carousel OR https://zagjs.com/components/react/carousel#machine-api
  2. Click on a dot indicator at the bottom of the carousel (not the last one)
  3. Go over the active slide, try to scroll to the next slide (I am using a trackpad)
  4. It will slide back to another slide and mess up the pagination.

💻 Link to reproduction

Visible on Zag page for the carousel.

🧐 Expected behavior

The carousel should let me reach the next slide and not scroll back to another slide.

🌍 System information

Software Version(s)
Zag Version 0.82.1
Browser Chrome Version 132.0.6834.111
Operating System MacOs Sonoma 14.4.1 (23E224)
@Powerplex Powerplex changed the title Carousel Carousel - pagination sync broken after using dots indicators Jan 30, 2025
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

1 participant