-
Notifications
You must be signed in to change notification settings - Fork 63
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
Support for right-to-left languages #20
Comments
Hi Ashraf, absolutely, that’s important. I just made a quick test by setting the Is that what you are referring to? or better, can you list the problems you are facing right now by using this lib? also, a small jsbin, codepen, etc would be useful too. I just want to have a better understanding about the problem/s that needs to be solve. :) thank you |
Hi noeldelgado, Thanks for responding. I really like the scrollbar you created. Specially the elegant, simple css. http://requirebin.com/?gist=0847f1bb9ef757414516
I hope this helps. Thank you. |
Thank you @ashraffayad!, that helps. ;) For now, about the implementation, I am thinking about adding a new option e.i. |
Usually the Would it be nicer to make the scrollbar "direction-sensitive" by default? You could easily detect that and invert the calculations accordingly. var isRtl = getComputedStyle(scrollElementl).direction === 'rtl';
if(isRtl){
// go ahead and invert the calculations
} |
@ashraffayad that's even better, like it 👍 |
Nice work.
For the horizontal scrollbar, would be great to have support for right-to-left languages. Like 'Arabic','Hebrew','Farsi','Urdu'... etc.
The text was updated successfully, but these errors were encountered: