NEW 159763
click events not fired depending on DOM changes?
https://bugs.webkit.org/show_bug.cgi?id=159763
Summary click events not fired depending on DOM changes?
Rick Byers
Reported 2016-07-14 07:45:12 PDT
According to https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html#//apple_ref/doc/uid/TP40006511-SW6 I should see click events whenever tapping inside an element with a click listener. I swear this used to work reliably but now I'm seeing something I'm having trouble explaining: Repro: - Visit http://rbyers.net/eventTest.html - Ensure only ' mouse' is enabled in the configuration - Tap a few times - in the log or on the squares on the right - Most taps generate mousemove/mousedown/mouseup/click events - Now enable 'touch' from the list of events to monitor and tap again - Now you only get the 'mousemove' events - no down/up/click. This occurs no matter where you tap (even outside the log whose DOM content is changing). Simpler repro that demonstrates something similar: - https://output.jsbin.com/nirihe - tap in any of the different clickable areas above the log box - notice you consistently get 'click' events - now tap inside the log box - get only touchstart/mousedown - even though you still see the tap highlight showing that the clickable target is being activated. I don't remember seeing this before - any chance something changed in iOS 9? I'll install iOS 10 beta to try that.
Attachments
Note You need to log in before you can comment on or make changes to this bug.