Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27170] iOS: Tableview Click and Longpress event fire at the same time.

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2019-11-11T17:32:46.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterSharif AbuDarda
AssigneeUnknown
Created2019-06-19T17:42:58.000+0000
Updated2019-11-11T17:32:46.000+0000

Description

Hello, Attached is a sample code that demonstrates the behavior. The tableview has both click and longpress event. The click event is supposed to take to another page. And longpress event should open the alert. The issue when tried the longpress in there both the new window and the alert opens. On the first run, it is reproducible in 3-4 attempts and after a while, it's reproducible more often on longpress on the row title. Attached also a video that demonstrates the issue. The issue is on iOS only. Tested with iOS 12.3.1 device iPhone5S with SDK 8.0.1.GA. Video longPress.mov is supposed to be the right behavior. Video longPressTest.mov demonstrate the issue. The sample code is in https://github.com/jorgehip/longPress Thanks.

Attachments

FileDateSize
longPress.mov2019-06-19T17:39:31.000+00005603640
longPressTest.mov2019-06-19T17:40:10.000+000010430421

Comments

  1. Sharif AbuDarda 2019-11-11

    Hello, The issue is resolved in the latest SDK 8.2.1.GA. Tested with both simulator(12.4) and device (iPhone 6plus) ios 12.4.1. Thanks.

JSON Source