Open nikolas opened 5 years ago
Hi, I have a <Rheostat> component with disabled={true}, and it's getting displayed with a pointer cursor, making it appear to the user that this slider isn't disabled.
<Rheostat>
disabled={true}
Basically these sliders shouldn't be focusable either when they're disabled.
Sadly changing the cursor is not enough because the button is still focusable. On top of it, the tabindex must be set to -1.
tabindex
-1
Hi, I have a
<Rheostat>
component withdisabled={true}
, and it's getting displayed with a pointer cursor, making it appear to the user that this slider isn't disabled.Basically these sliders shouldn't be focusable either when they're disabled.