<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - click events not fired when the DOM changes?"
href="https://bugs.webkit.org/show_bug.cgi?id=159763">159763</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>click events not fired when the DOM changes?
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>Safari 9
</td>
</tr>
<tr>
<th>Hardware</th>
<td>iOS
</td>
</tr>
<tr>
<th>OS</th>
<td>iOS 9.3
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>Event Handling
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>rbyers@chromium.org
</td>
</tr></table>
<p>
<div>
<pre>According to <a href="https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html#//apple_ref/doc/uid/TP40006511-SW6">https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html#//apple_ref/doc/uid/TP40006511-SW6</a> 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 <a href="http://rbyers.net/eventTest.html">http://rbyers.net/eventTest.html</a>
- 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:
- <a href="https://output.jsbin.com/nirihe">https://output.jsbin.com/nirihe</a>
- 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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>