[TIMOB-10322] iOS: click event on a view is on touch down, should be on touch up
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2012-12-13T22:54:42.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | community, ios, label |
Reporter | Martin Guillon |
Assignee | Ingo Muschenetz |
Created | 2012-08-01T09:01:15.000+0000 |
Updated | 2017-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.
Even thought there is no test case, we should be able to follow up on the clue here.
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
Closing ticket as duplicate.