iOS: Newer phones/OS have underlined buttons by default?


#1

My app is uses Angular, and when deploying to an iPhone 6 running OS 11.2.5, all button elements () do not have underlined text. However, when deploying to an iPhone 8+ running OS 11.2.6, all button elements have underlined text and using “text-decoration: none;” in CSS has no effect. Is anyone else running into this issue?


#2

I got the same issue, but it seems it is related to your own setting in your phone. Go to settings, general, accessibility, then turn on button shape. Underline goes away for me.

Hope this helps!
Martin