question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Button] Label color in text in button (ios safari)

See original GitHub issue

i found the bug maybe when i develop in local and test on my simulator its normal to render color

Screen Shot 2021-07-05 at 23 27 54

and when i test on iPhone in safari it look not cool

WhatsApp Image 2021-07-05 at 22 51 39

and it’s the code

<Button variant="contained" color="primary" className={classes.roundButton} disabled={agreement ? false : true} onClick={onClickOpen}> Kirim </Button>

can you help me to fix the color ???

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
ilhamdoangggcommented, Jul 8, 2021

its done with transition: color .01s thanks for support @mnajdova

1reaction
mnajdovacommented, Jul 7, 2021

It doesn’t look like this bug report has enough info for one of us to reproduce it.

Please provide a CodeSandbox (https://material-ui.com/r/issue-template-next), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem.

Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve

Read more comments on GitHub >

github_iconTop Results From Across the Web

Text in HTML Buttons is blue on iOS 15 - Apple Developer
I recently updated my iPhone to iOS 15 and suddenly the text inside all the buttons on my website looks blue (when it...
Read more >
button tag is not able to change font color on Iphone safari ...
1 Answer. Save this answer. Show activity on this post. Try: appearance: none; and / or -webkit-appearance: none; before your custom styling.
Read more >
<button> text color in ios is set to blue by the useragent #886
IOS sets the text color of buttons in the useragent stylesheet to blue. No other browser does this, and it should follow suit....
Read more >
How to disable the overlay color for images inside Button and ...
How to disable the overlay color for images inside Button and ... On iOS, an image drawn inside a NavigationLink or a Button...
Read more >
The Button element - HTML: HyperText Markup Language
The <button> HTML element is an interactive element activated by a ... by comparing the luminosity of the button text and background color...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found