titanium-sdk icon indicating copy to clipboard operation
titanium-sdk copied to clipboard

iOS "longpress" event doesn't block the "click" event

Open francesco-lombardo opened this issue 3 years ago • 0 comments

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

francesco-lombardo avatar Nov 10 '22 14:11 francesco-lombardo