Skip to content

rtl vertical #203

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

Closed
albahrawy opened this issue Nov 8, 2019 · 1 comment · Fixed by #335
Closed

rtl vertical #203

albahrawy opened this issue Nov 8, 2019 · 1 comment · Fixed by #335
Milestone

Comments

@albahrawy
Copy link

hi,
when we set direction to 'rtl' and it is vertial, it is not right to change offset ,
hin dragEvent function:
if(this.dir === 'rtl') {
offset = -offset;
}

it should be :
if (this.dir === 'rtl' && this.direction === 'horizontal') {
offset = -offset;
}

@beeman
Copy link
Collaborator

beeman commented Jul 23, 2020

Hi @albahrawy.

This seems like a nice addition, I'm happy to review and merge a PR that adds support for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants