[TimePicker] ClockNumber has weird focus outline on Safari
See original GitHub issueWhen open a TimePicker, Safari renders weird focus outline.
I think this behavior was introduced by #26400.
- The issue is present in the latest release.
- I have searched the issues of this repository and believe that this is not a duplicate.
Workaround
div[role="listbox"] {
outline: none;
}
Current Behavior 😯
Chrome/Firefox
Safari
Expected Behavior 🤔
Chrome/Firefox/Safari
Steps to Reproduce 🕹
Steps:
- Open https://next.material-ui.com/components/time-picker/#basic-usage.
- Open TimePicker.
- (If you are using Safari) Some weird focus outline appears.
Your Environment 🌎
- Safari 14.1.1 (16611.2.7.1.4)
- Mobile Safari (iPadOS 14.5.1)
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:13 (1 by maintainers)
Top Results From Across the Web
css - On Safari, why is there a focus outline appearing around ...
When the dialog opens, the browser thinks that <embeddedservice-chat-header> has focus. You can see this by issuing the command document.
Read more >Safari focus outline on buttons leaves artifacts after blur - Drupal
Safari outlines take into account absolutely positioned child elements, so it winds up outlining the tooltip that appears when the button is ......
Read more >最新趨勢觀測站- chrome button focus outline的推薦與評價
Maybe it's not a bug and you thought about this already, but it seems strange that outline-none doesn't set outline-none on focus too,...
Read more >UNPKG - @copart/notes-component
node_modules/material-ui/TimePicker/ClockNumber.js",". ... [].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR ...
Read more >Untitled
Soy libre y no me sirve ricardo arjona, Perfect face soft focus highlighter, ... Download safari 10 for windows 7, Links club apartments...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Add following prop to TimePicker as workaround:
Try here: codesandbox
However, since I do not know the side effects, please use with caution!
Yes, exactly, this is a bug for MuiPaper, after I have changed on theme default props, the bug has been fixed on Safari @markedwards