base-ui
base-ui copied to clipboard
[useButton] Default `tabIndex` to `0`
Modern Safari allows buttons to receive focus upon click/mousedown if they have a tabIndex of 0. This ensures the :focus-visible style won't appear once focus moves to a popup.
https://github.com/mui/base-ui/pull/1846#issuecomment-2887579218
Deploy Preview for base-ui ready!
| Name | Link |
|---|---|
| Latest commit | a40e28998ba0d53e16b3726878d418fb37f928a2 |
| Latest deploy log | https://app.netlify.com/projects/base-ui/deploys/682bc8b9cf54c60008a9045a |
| Deploy Preview | https://deploy-preview-1939--base-ui.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify project configuration.