react-rangeslider
react-rangeslider copied to clipboard
Make tabIndex configurable
Currently the tabIndex attribute is hardcoded (value = 0). This PR changes the component to use the tabIndex from props. Default to 0.
Why: I'm using this lib and I want to make the slider unfocusable. By making the tabIndex configurable I would be able to pass -1 (which disables focus).
It will also help anyone who needs to override the tabIndex order.
LGTM!
hi , how to get this version with tabIndex ?