I have 2 tabs in my website. The tab menu behaves fine on web (including none, hover and pressed states), however the menu item would disappear when I try to click it on tablet or mobile. It would look like this:
@RDaneelOliwav I use an iphone X. I tried with both Chrome and Safari on my phone and it’s the same behavior of the tab item menu turning white (or disappearing) when clicked.
Hi @Emilie_Ho, thanks for the post, I took a look and it seems there is some styling on the published site that is clipping the background color to the text on the published site, it is related to the “Tab Link Verticle” class.
Removing this class and republishing causes the text to show on iphonex.
The root issue is that iphonex is not respecting the clipping option that clips the background to the text and this is set on the Tab Link Verticle Class when in the Current → Hover state:
I would try to set that class so that clipping is set to none as iPhoneX is unable to render that clipping mode on the tab button the same way as other browsers.
After changing that class, you might want to also change the background color of the current class on the tab link or it will show such as this with the background text clipping disabled:
Thank you so much @cyberdave! I realized it was the conflict between hover and pressed states. Changing the clipping option worked immediately. Very grateful for your prompt reply!