[Radio] Centering issue in Safari
See original GitHub issueDot in radio button is not centered in Safari for 13 and 15 inches screens. On iphone (checked on iphone Xs), chrome and firefox the dot is perfectly centered.
- The issue is present in the latest release.
- I have searched the issues of this repository and believe that this is not a duplicate.
Steps to Reproduce 🕹
That is how I style my radio button:
const RadioBtn = withStyles({
root: {
color: 'default',
'&$checked': {
color: '#604f93',
},
},
checked: {},
})(props => <Radio color="default" {...props} />)
Live example of this issue can be found here: https://www.erudicat.com/heuristic-question-147 or https://www.erudicat.com/monte-carlo-analysis-question-337
Context 🔦
The majority of css rules in my project are scoped to particular components and the fact that I have such issue only in one browser make me assume that the issue is probably with MUI.
Thank you in advance!
Your Environment 🌎
Tech | Version |
---|---|
Material-UI | v4.8.2 |
React | 16.12.0 |
Browser | Safari v13.0.5 |
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:19 (13 by maintainers)
Top Results From Across the Web
[Radio] Centering issue in Safari #19846 - mui/material-ui
Dot in radio button is not centered in Safari for 13 and 15 inches screens. ... The issue is present in the latest...
Read more >How to align radio buttons on a Iphone safari - Stack Overflow
Horizontally and vertically align radio input with their label. This code working is fine on iPhone on both Safari and Chrome.
Read more >Line Radio Buttons: Not working on Safari iPad with iOS 13
Hello. It appears you are using an emulator. Everything works fine on an emulator, but if you try and use it on an...
Read more >Adjust the mono audio, balance, and phone noise ...
You can adjust mono audio, left-right stereo balance, and phone noise cancellation to suit your needs. Go to Settings > Accessibility > Audio/Visual....
Read more >Toggles - Selection and input - Human Interface Guidelines
A toggle lets people choose between a pair of opposing states, like on and off, using a different appearance to indicate each state....
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
Just tried the fix using scale() and it looks perfect.
root: { "& svg:first-child": { transform: "scale(1)" } }
I was able to test on 4 real screen resolutions. Huge thanks to everyone!Could I try this one?