titanium-sdk
titanium-sdk copied to clipboard
iOS "longpress" event doesn't block the "click" event
I have searched and made sure there are no existing issues for the issue I am filing
- [X] I have searched the existing issues
Description
iOS "longpress" event doesn't block the "click" event
Expected Behavior
iOS "longpress" event block the "click" event, as in Android
Actual behavior
iOS "longpress" event doesn't block the "click" event
Reproducible sample
$.someView.addEventListener('longpress', async (e) => { console.log(e); });
$.someView.addEventListener('click', async (e) => { console.log(e); });
Steps to reproduce
Long press the "someView" until it fires the "longpress" event, then lift the finger, now the click event will be fired
Platform
iOS
SDK version you are using
11.1.1.GA
Alloy version you are using
1.0.1