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

Dragging becomes inverse if a parent is RTL in Edge #9

Open
abisar opened this issue Aug 1, 2019 · 5 comments
Open

Dragging becomes inverse if a parent is RTL in Edge #9

abisar opened this issue Aug 1, 2019 · 5 comments

Comments

@abisar
Copy link

abisar commented Aug 1, 2019

Hi again! If a parent has style of direction: rtl on Edge the dragging movement becomes inverse, here check this in Edge: https://6vfmu.csb.app/ (editor view)

@Norserium
Copy link
Owner

Hello! I will investigate this problem at weekends.

@Norserium
Copy link
Owner

Norserium commented Aug 3, 2019

I've never developed for languages with right-to-left script yet, so could you describe, what's desirable behavior in this case? Should scroll start at the end but scrolling should not be inversed. Right?

By the way, you may set direction: ltr to a scroll container class as a workaround.

@abisar
Copy link
Author

abisar commented Aug 4, 2019

There is no problem on Chrome and Firefox. It only happens in Edge. If you open the link in Edge and drag from right to left, the items go from left to right.

About the workaround you're right. That will do it but it's not a clean way. I'll use this workaround as an alternative.

@abisar abisar closed this as completed Aug 19, 2019
@Norserium
Copy link
Owner

Norserium commented Aug 19, 2019

@abisar, why did you close issue? The problem actually exists, but I've not found out a reasonable way to fix it.

@abisar
Copy link
Author

abisar commented Sep 5, 2019

I used the giving the parent ltr style trick and inversing my index. Of course a fix from the js side would be better.

@abisar abisar reopened this Sep 5, 2019
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

2 participants