[Button] ripple improperly renders on an iPhone (Safari)
See original GitHub issueBug report
Buttons with rounded corners have ripple extend to zero radius corners on either Safari on a Mac or an iPhone:
- Ripple styling is improper for the Text and Outlined button styles - ripple extends to zero radius corners.
- Styling is correct for the Contained and Raised button styles - ripple is properly contained within rounded corners.
Steps to reproduce
- Visit https://blazormdc.com/button on an iphone (or maybe an ipad)
- Click the scroll icon button at the right hand end of the top app bar and select “Red Round Theme”
- Scroll down to the second card on the screen entitled “Button Styles” (see screenshot below)
- The first three buttons in the image below show the improper ripple styling
- The last two buttons show the correct styling
- This issue was repeated:
- Safari on a Mac running MacOS
- All broswers on an iPhone running iOS
- The issue does not occur on:
- Any browser on a PC (Chrome, Edgium, Brave and Firefox tested)
- Chrome on a Mac
Screenshots
Your Environment:
Software | Version(s) |
---|---|
MDC Web | 7.0.0 |
Browser | Safari Brave and Edge on iPhone or Safari on a Mac |
Operating System | iOS 13.6, MacOS - unsure of build |
Further Information:
The “Red Rounded” theme’s Sass variables can be found in our repo (click here) as:
@use '@material/theme/color-palette' as cp;
$mdc-theme-primary: cp.$red-800;
$mdc-theme-secondary: cp.$cyan-300;
$mdc-theme-background: cp.$grey-200;
$mdc-typography-font-family: unquote("Merriweather, serif");
$mdc-typography-styles-button: ( font-size: 14px, font-weight: 400, letter-spacing: 0.05em, );
$mdc-typography-styles-headline1: ( font-family: unquote("Shrikhand, serif") );
$mdc-typography-styles-headline2: ( font-family: unquote("Shrikhand, serif") );
$mdc-typography-styles-headline3: ( font-family: unquote("Shrikhand, serif") );
$mdc-typography-styles-headline4: ( font-family: unquote("Shrikhand, serif") );
$mdc-typography-styles-headline5: ( font-family: unquote("Shrikhand, serif") );
$mdc-typography-styles-headline6: ( font-family: unquote("Shrikhand, serif") );
$mdc-shape-small-component-radius: 50%;
$mdc-shape-large-component-radius: 50%;
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Developers - [Button] ripple improperly renders on an iPhone (Safari) -
[Button] ripple improperly renders on an iPhone (Safari)
Read more >Clicks on Safari iOS function differently than on PC with ng ...
The issue occurred on Safari because of the inner span inside the button with ripple effect animation. The fix is pure CSS:
Read more >iOS 13.2.1 Safari renders not all parts o… - Apple Community
Hi, we have found a workaround. The Safari renders the part not depending on a combination of position=relative. We changed this for some ......
Read more >How to recognize and fix 11 common problems in Final Cut ...
Diagnosis: Possible corruption of FCP X Generated Render files (very common). Select the Project in the Browser and choose File > Delete ...
Read more >Fixed issues in Premiere Pro - Adobe Support
Proxies from the Panasonic AG-CX10 to be imported with the wrong timecode. Corrupt frames when smart rendering XDCAM HD files.
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
Thanks. It’s pretty minor in impact and I’ll probably have a zero radius theme anyway. Thought you should know though! BTW, I’m impressed by how responsive and helpful your team is - it’s really impressive. Special shout out to @asyncLiz who’s helped me a lot.
This is also an issue for chips.