Events do not occur when linking images to iOS.
See original GitHub issueWhen marking up img tag with anchor link, hyperlink event is canceled only on iOS, is this in the specifications?
// Example
<Slider>
<div><a href=""><img src=""></a></div>
<div><a href=""><img src=""></a></div>
</Slider>
The following if statement is seemed to be the cause of the problem.
In the current situation, not only image links but also onClick events can not be used, so we want at least a click event to be allowed.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:8
Top Results From Across the Web
photos not in events - Apple Support Communities
I am uploading images from my iphone manually (not using Cloud) and the images aren't showing up in events. I know they are...
Read more >Bug Report - TimeTree Help
iOS : The app slows down if calendars have many recurring events (2022.12.21); iOS 10.1.3 The app is slow and events are not...
Read more >HTML image links not working on iOS - Stack Overflow
It seems that these image links confuses iOS browsers. When you tap the image link once, it changes to the hover image. When...
Read more >Creating a recurring series event - Zoom Support
(Optional) Under Event Link, copy the event link to share your event. ... Recording of the event does not automatically start; you will...
Read more >Events pages - Squarespace Help Center
Events pages don't support booking. ... Instead, it displays a link to the event on your site with a featured image and description....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Have you tried setting
pointer-events: none
on the images? It might help.I have encountered this issue with the images but didn’t want to drastically change the markup that @pmgmendes recommends.
Instead I created an extra element and added the onclick to that, and then used css to overlay the image