Unexpected behaviour with right to left direction
See original GitHub issueMy 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.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Why we get left and right confused - That Thinking Feeling
Dr Clare Jonas explains how we develop our sense of left and right, how it can go wrong - and when getting left...
Read more >How to Read People's Eye Direction and Behavior With 34 Cues
Watch their eye direction. A person may have a favorite side—left, right, up, or down—when they are thinking of something. Any dramatic shift...
Read more >Sudden confusion (delirium) | nidirect
A person with a delirium can show symptoms including: confusion; distractibility; rambling speech; changes in alertness; agitation (sometimes leading to ...
Read more >Adult persistence of head-turning asymmetry - Nature
Here I show that twice as many adults turn their heads to the right as to the left when kissing, indicating that this...
Read more >Right Hemisphere Damage - ASHA
Right hemisphere damage is an acquired brain injury that causes impairments in language and other cognitive domains that affect communication.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@tim-steele
well I am having the same problem under dir=“RTL”, if there was an invert option for the drag I mean like drag=invert that would just invert the translation animation. right now in rtl this is what happens
I haven’t read the lib yet , I need this to be enabled , gonna see if i can check it out . shared this to make sure i know what needs to be done .
-see where the drag event is being made. if the provider has an invertDrag prop with true x will become window.width - x if the thing is vertical its window.height -y
thanks for this carousel O.o
@akramabdulrahman if an invert feature needs to happen, then we are open for a pull request.