Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10322] iOS: click event on a view is on touch down, should be on touch up

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionDuplicate
Resolution Date2012-12-13T22:54:42.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sn/a
ComponentsiOS
Labelscommunity, ios, label
ReporterMartin Guillon
AssigneeIngo Muschenetz
Created2012-08-01T09:01:15.000+0000
Updated2017-03-09T21:28:35.000+0000

Description

in [TiUIView.m](https://github.com/appcelerator/titanium_mobile/blob/master/iphone/Classes/TiUIView.m) we can see that the click event is triggered on touch down event. If we follow how a button click event works, it should be on touch up event.

Comments

  1. Neeraj Gupta 2012-08-06

    Even thought there is no test case, we should be able to follow up on the clue here.
  2. Martin Guillon 2012-08-07

    i dont really know what test case i could put for this point. I can simply point out to the code: https://github.com/appcelerator/titanium_mobile/blob/master/iphone/Classes/TiUIView.m#L1034-1064
  3. Lee Morris 2017-03-09

    Closing ticket as duplicate.

JSON Source