Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add rtl support #2368

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

Open
TamarStupp wants to merge 1 commit into SortableJS:master
base: master
Choose a base branch
Loading
from TamarStupp:master
Open

Add rtl support #2368

TamarStupp wants to merge 1 commit into SortableJS:master from TamarStupp:master

Conversation

@TamarStupp
Copy link

@TamarStupp TamarStupp commented Apr 29, 2024

I added a option to specify if Sortable should use rtl. If not given, detect automatically with css direction or flex-direction: row-reverse. I also changed the _getDirection function to a more generic function that could be used both to get direction value and to get rtl value. Hope it'll be helpful!
Enjoy your day

sebastienthibaud and danielgindi reacted with rocket emoji
Copy link

@owen-m1 could you please merge this?

Copy link

Sorry, github created the PR the other way around...

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

Reviewers

1 more reviewer

@sebastienthibaud sebastienthibaud sebastienthibaud approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /