We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm submitting a bug report
Library Version: latest
Operating System: macOS 10.15.5 Catalina
Node Version: 10.19.0
NPM Version: 6.14.6
Webpack Latest
Browser: Chrome Latest
Language: TypeScript 3.9.5
Current appearance (buggy):
Desired appearance: With appropriate margin from right.
Current behaviour: The reaction to mouse events becomes "inverted" then the document has RTL direction.
The text was updated successfully, but these errors were encountered:
@ben-girardet any thoughts on tackling this one?
Sorry, something went wrong.
Good question 👍🏻
Probably need to detect RTL with something like:
window.getComputedStyle(this.element, null).getPropertyValue('direction')
and if RTL invert the slider position.
However this assumes that RTL is defined in CSS which might not be the only way to do so. I think one can also use the dir HTML attribute...
dir
Anybody familiar with RTL and how to properly "detect" it from JavaScript ?
No branches or pull requests
I'm submitting a bug report
Library Version:
latest
Operating System:
macOS 10.15.5 Catalina
Node Version:
10.19.0
NPM Version:
6.14.6
Webpack
Latest
Browser:
Chrome Latest
Language:
TypeScript 3.9.5
Current appearance (buggy):
Desired appearance:
With appropriate margin from right.
Current behaviour:
The reaction to mouse events becomes "inverted" then the document has RTL direction.
The text was updated successfully, but these errors were encountered: