We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Setting the initialPage is not working.
https://zagjs.com/components/react/carousel#setting-the-initial-slide
I tried to set page={2} like the doc shows, but it seems only the indicator group and prev/next triggers are aware of the prop.
page={2}
The visible slide is still the first one (page 1).
If I click on "next" it will keep up from the right page, but the initial visible slide is incorrect.
Go to this stackblitz
The carousel should show the slides matching the page I passed.
page
The text was updated successfully, but these errors were encountered:
No branches or pull requests
🐛 Bug report
Setting the initialPage is not working.
https://zagjs.com/components/react/carousel#setting-the-initial-slide
I tried to set
page={2}
like the doc shows, but it seems only the indicator group and prev/next triggers are aware of the prop.The visible slide is still the first one (page 1).
If I click on "next" it will keep up from the right page, but the initial visible slide is incorrect.
💥 Steps to reproduce
💻 Link to reproduction
Go to this stackblitz
🧐 Expected behavior
The carousel should show the slides matching the
page
I passed.🌍 System information
The text was updated successfully, but these errors were encountered: