Problems with `touchend` event handling
See original GitHub issueUnfortunately, a fix that I suggested for the issue #34 together with a fix for the #56 introduces some serious issues with handling click
events triggered from control inside a tooltip.
On a mobile device that supports both click
and touchend
events touchend
“outside click” handler intercepts all events, eg. click
on a button inside the tooltip.
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (9 by maintainers)
Top Results From Across the Web
Touchend event not working correctly with touches array
This is because touchend event is fired when touch point is removed. No touch point, no targetTouches. MDN TouchEvent.targetTouches.
Read more >Element: touchend event - Web APIs - MDN Web Docs - Mozilla
The touchend event fires when one or more touch points are removed from the touch surface.
Read more >Touch Event Handling in JavaScript - Jenkov.com
Touch Event Listeners ; touchend, Fired when the user stops touching the screen. ; touchleave, Fired when the user moves their fingers outside...
Read more >Touchend event not fired if finger is dragged on the ... - Monorail
It looks like there are two issues at play: 1. Android Chrome's dispatching of 'touchend' is not reliable. 2. Android Chrome and iOS...
Read more >Easy fix for: '[Intervention] Ignored attempt to cancel ... - URIports
Alright, so on your (probably mobile) site, there is an event listener that listens to touch input. When this listener is in the...
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 FreeTop 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
Top GitHub Comments
Look like that everything is ok! I will wait for the response from the test team.
Hey bro, could you please help me out and tell me if v2.8.2 solves your use case. I saw that removing
preventDefault
from only the outside click handler makes your example as well as an example from another issue work. It would be great if you can confirm from your side.