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

Need to support right to left #109

Closed
AhmedMozaly opened this issue Sep 10, 2013 · 2 comments
Closed

Need to support right to left #109

AhmedMozaly opened this issue Sep 10, 2013 · 2 comments

Comments

@AhmedMozaly
Copy link

a 'direction' option is needed, which should affect the ui elements rendering
I made it work as 'rtl' by just 2 minor changes

1- in the selectize.js file, hideInput method should position the input at (1000) positive value, instead of the current (-1000) negative value

2- in the selectize.default.css file, inside the css selector (.selectize-control.single .selectize-input:after) you need to change (right: 15px;) to (left: 15px;)

brianreavis added a commit that referenced this issue Sep 16, 2013
@brianreavis
Copy link
Member

Thanks for the walkthough, @AhmedMozaly! If you get a chance, do you mind checking out the 0.8 branch and giving a shot? There's a "rtl.html" demo in the examples folder. You'll need to run make first.

It seems to work pretty well, but I'm unsure of the proper behavior with backspace / delete key in an RTL environment. Any thoughts?

@joallard
Copy link
Member

I believe that has been fixed? I will close because it's been inactive for more than 2 years. If there is still a problem, please re-open.

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

No branches or pull requests

3 participants