简体   繁体   中英

Touch event not working on IOS with tel links

I'm trying to intercept a click on a tel link on IOS like :

<a href="tel:152354">Example</a>

I've created a Fiddle here : https://jsfiddle.net/Portekoi/yzg1eb96/4/

When I use my iPhone 6S, first link do not firing the alert. But the second link, yes.

I've try to add the CSS hack for IOS cursor : pointer but without success.

How can intercept the click on a tel href on IOS?

Your code is working for me 在此处输入图片说明

Check attached image

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