Closed Stevemoretz closed 1 year ago
Took me the whole day but here's the solution looks like the knobs with class .noUi-handle
have right: -10px
but need left: 10px
[dir="rtl"] .noUi-horizontal .noUi-handle{
left: -10px;
right: unset;
}
Amazingly this was the only thing needed to fix this! Works great with and without direction: "rtl"
option of this library!
I just checked/tested this on the default stylesheet, and RTL documents are handled correctly. It seems like the custom stylesheet that's used here overrides styles, but does not handle RTL styling correctly.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Hello, I am using FacetWP which uses this library internally, the version is :
Here's my slider in LTR:
Here's my slider in RTL:
In the RTL I have no knob on the left side and, and the drag doesn't work at all.
Here are the options:
Here's the html in RTL:
Here's LTR:
Looks like the different is in -66 and 66 and -33 and 33, when I add
-
myself to html myself I get the right look in RTL too