Flip card buttons on iphone

Hello. I just completed a layout of 24 flip cards using loopers and dynamic data to pull in the content. The button on the back of each card is linked to press articles. I just learned that the buttons do not work on iPhones, while they function perfectly on droid OS. I’m in a bit of a situation now as I cannot deliver this website to my client unless these buttons function on all devices.

Are you aware of this situation? I do not find other posts about this here on the forum, but it is noted on the user Facebook Group. Please advise. Thank you.

Hey @mcaravaglia,

Thanks for writing in! Can you please share the URL of the page where we can find those card? We need to check your element structures. It could just be z-index which buries the buttons which made it unclickable.

We would also love if you can give us access to the page or your staging area so we can investigate the issue.

Best Regards.

Thank you. I hope you can resolve this. I’m not sure about an index issue, as it is only on iPhone not working. It is fine on my Windows Desktop and Samsung phone. I do not have IOS Desktop computer to check.

Login credentials were saved in Secure Note.

Hey @mcaravaglia,

I checked on iPhone 14 and 12 and the button on the back of the cards are working. What iPhone model, OS and browser name and version are you using?

My wife has an iPhone 14 running OS version 16.5.1 ( the latest version) and the buttons on the flip-cards are not working. I have also had other users report the same issue on their iPhones. What OS version are on the iPhones you are using to view?

Hey @mcaravaglia,

I viewed on 16.2. We check on 16.5 once we are able to set it up.

Please stay tuned.

Thank you.

You’re welcome.

Hi. Have we concluded this is a bug in X? I need to explain to my client if I can’t deliver the flip cards working on iPhone. Please let me know.

Thank you.

Hi @mcaravaglia,

As my colleague says that we are going to check it in the 16.5 version, and if the issue is found, we will report it to our issue tracker.

Thanks

Understood, thank you. I was just trying to understand the timing on this.

You are most welcome.

It has been 5 days since I made this inquiry. Is there any movement on upgrading an iPhone to the current version? I need to answer to my client who is waiting for me to deliver their website. The site is complete and ready to launch, except for what appears to be an issue with buttons on iPhones running the latest version.

Hi @mcaravaglia,

The reported issue is very unique and not easy to replicate. Still, I will check with our development team on this and let you know about it.

Thanks

Hey sorry I wasn’t able to recreate this or find a 16.4 safari version, but I see it now. I wasn’t able to write a hack for you, as it needs to know the card state. x-card-faces is hijacking the button touch event, CSS was not helping. I’ll take a deeper look next week.

Hi. So you know, this isn’t just Safari; Chrome too on IPhone. Clearly an issue with buttons (at least on Card elements) in the latest release of the IPhone OS.

1 Like

Hi @mcaravaglia,

As my colleague says, we are able to replicate the issue, and he will take a look into it. We will also check other browsers too.

Thanks

Hello,

Can we try some testing on this site? On my site I was able to get to this working with a newer iPhone on Chrome and Safari. We can add this to Page CSS. The gist is the flipping is handled by the faces and not by the container. Let me know if this helps. A similar fix would go into the release if this works.

.x-card-faces {
  transform: unset !important;
}

.x-card-face {
  transition-property: transform;
  transition-duration: 750ms;
}

.x-card-faces .is-back {
  transform: rotateX(180deg);  
}

.x-card.is-active .is-back {
  transform: unset !important;  
}

.x-card.is-active .is-front {
  transform: rotateX(180deg);  
}

Sorry for the delay. I have been traveling. I just tested this in Chrome and Safari and it does indeed work! Thank you so much.

1 Like

Awesome to hear and happy to help. We will get this bug fix setup for all flipping in a future point release. This only will flip upward as a heads up. Have a great weekend!