-
Notifications
You must be signed in to change notification settings - Fork 186
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
Rtl should affect programmatical navigation #243
Comments
Hi, |
This was referenced Sep 21, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I use the rtl option of the carousel its slides reorder to match the rtl usability priciples. This package will work well if I use default or slot arrows just because these arrow positions are at the sides of the carousel. But if I use the custom controls outside of the carousel and
prev
andnext
methods likethis.$refs.carousel.next
it will work like in the ltr mode. For users of rtl language "next" button should move the carousel to the next left slide. That’s why I need to choose methods based on my app current language direction to make it work right and thus mess up code.It also will apply to the indexes of slides and events like
beforeChange
if I use custom pagination outside of the carousel.I know it’s a breaking change, maybe it would be enough to add an option like the rtlNavigation.
The text was updated successfully, but these errors were encountered: