tabIndex
should be a number or string/number
#3687
Labels
issue/reviewed
Issue has recently been reviewed (mid-2020)
tabIndex
should be a number or string/number
#3687
tabIndex
is now a string inside thepropTypes
but it should be also a number (built in types in JSX marktabIndex
as number)I noticed that there was a PR fix this: https://github.com/JedWatson/react-select/pull/1595/files
But somehow the code is now reverted: https://github.com/JedWatson/react-select/blob/master/packages/react-select/src/Select.js#L241
This is causing problems with the types (using TypeScript) where they have marked
tabIndex
as a string, forcing me to do some funky conversion inside my code base. Is there a reason for this choice of is it just an error?The text was updated successfully, but these errors were encountered: