Swipe prevents onclick outside element from triggering
keithchew opened this issue · comments
keithchew commented
Hi
I have modified tests/manual/input.html to illustrate the issue. Below, I have added a button which alerts "On click" in the onclick event. If we swipe in the hit area and quickly click/tap the button, the onclick is not triggered. Tap events are OK, looks like it is only the swipe action which is causing this behavior.
<div id="hit" class="bg1" style="padding: 30px; height: 200px;">
</div>
<button onclick="alert('On click'); return false;" style="width: 300px;height:200px;">Click Me</button>
Any pointers as to where in the source I can track this down? Ideally, I would like the onclick of the button to trigger regardless of the touch actions that is happening in the hit area.