-
Notifications
You must be signed in to change notification settings - Fork 163
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
Unexpected behaviour with right to left direction #97
Comments
At this time we haven't added support to it. It is something we can look at doing, but we are also open to a pull request. |
@abisar so, when I drag the slide from the left to the right, the slider would animate in the opposite direction from right to left? Or, are you talking about the ButtonNext and ButtonBack components? If you are talking about the buttons, simply place ButtonNext on the left side of your carousel and ButtonBack on the right side. If you are using the Dot component, simply display them from high to low. Basically, you can place the buttons "backwards" and simulate rtl behavior. The only question I have is about inverting the dragging? I tried to find other carousels that do this. Do you know of one so I can check it out? |
tried to clone the thing and change things up :D the scripts arent exactly made for windows and such :D this might take a while |
@akramabdulrahman if an invert feature needs to happen, then we are open for a pull request. |
My body tag has
direction: rtl
. If I swipe from left to right, my expected behaviour is I want to go from slide 1 to slide 2 but it tries to go from slide 1 to 0 which doesn't exist.Is there any support for RTL direction? It's basically an inversion of everything related to x-axis.
The text was updated successfully, but these errors were encountered: