We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Tab index of -1 causes a focus outline when clicked.
I don't think this should be the default behavior. Is there a reason for this?
I see discussion here explaining that some elements need to toggle between 0 and -1: #339 (comment)
But giving non-interactive elements -1 doesn't make sense.
The workaround I am using is to pass an empty string. This works the same as undefined but avoids -1 being set:
undefined
<ListItemText tabIndex="" // tabIndex={('' as any) as undefined} // if you are using TypeScript primaryText="Primary" />
I can make a PR if anyone will look at it :)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Tab index of -1 causes a focus outline when clicked.
I don't think this should be the default behavior. Is there a reason for this?
I see discussion here explaining that some elements need to toggle between 0 and -1: #339 (comment)
But giving non-interactive elements -1 doesn't make sense.
The workaround I am using is to pass an empty string. This works the same as
undefined
but avoids -1 being set:I can make a PR if anyone will look at it :)
The text was updated successfully, but these errors were encountered: