Handling 'click' and 'dblclick' events
I need to use both the 'click' and 'dblclick' events on a UI control, with each event triggering a different process. However, a 'dblclick' event fires the 'click' event as well as its own.
I've seen how to handle this issue in Objective-C. Is there a way with the Titanium API?
3 Answers
-
Here's a workaround:
http://gist.github.com/525623I have also posted a bug report:
https://appcelerator.lighthouseapp.com/projects/32238-titanium-mobile/tickets/1560-ios-button-doesnt-fire-dblclick-event -
Give this a try: DoubleTap workaround
-
I'm seeing the same issue. Both events are triggering when I double click.
Has anyone found a way around this?