简体   繁体   中英

iOS Safari not displaying button text

I have some iOS users not all that are having issues seeing the text on on the button element for our react site. I was wondering if there has been a recent update that could be causing this odd functionality on some iOS devices.

One device is running an iPhone 12 and the other an iPhone 8.

The button styling is using bulma and the syntax look like:

<a className={'button is-primary' + (this.pageOptions.isProcessing === true? ' is-loading': '')}>Submit

在此处输入图像描述

在此处输入图像描述

Try to use -webkit-appearance: none on Button CSS

Safari's default button styling might be causing problem https://developer.mozilla.org/en-US/docs/Web/CSS/appearance

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM