-
-
Notifications
You must be signed in to change notification settings - Fork 777
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
Can't set tabIndex on handle #353
Comments
It's for keyboard accessibility, could you explain why you need to disable it ? #282 |
@paranoidjk does the why really matter? We'd just like to have control over the |
Then we maybe could add a api Would you like PR? |
@paranoidjk sounds good, yes will submit a PR tomorrow. |
@paranoidjk see the MDN docs on tabIndex here https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex We should probably default it to "0" as it is now. Wouldn't want to break the existing behavior. But we should allow it to be overridden via props. I'll expose a |
We need to be able to disable tabbing into the
rc-slider-handle
by settingtabIndex="-1"
. Unfortunately it looks like tabIndex on the handle is currently hard-coded to "0", with no ability to override this value.slider/src/Handle.jsx
Line 28 in 76d4cf3
Could you please add the ability to override
tabIndex
on the handle?The text was updated successfully, but these errors were encountered: