I think there might be a problem in the event detection for Angular. Look at this fiddle: http://jsfiddle.net/mbielski/UMrd2/No matter what you do, the action defined by ng-click always wins. The action defined by ng-dblclick never happens. I really would like to have both on one element, but if I absolutely need to I can go with ng-click only.
I think there might be a problem in the event detection for Angular. Look at this fiddle: http://jsfiddle.net/mbielski/UMrd2/No matter what you do, the action defined by ng-click always wins. The action defined by ng-dblclick never happens. I really would like to have both on one element, but if I absolutely need to I can go with ng-click only.
The dblclick event is only triggered after this exact series of events:
It is inadvisable to bind handlers to both the click and dblclick events for the same element. The sequence of events triggered varies from browser to browser, with some receiving two click events before the dblclick and others only one. Double-click sensitivity (maximum time between clicks that is detected as a double click) can vary by operating system and browser, and is often user-configurable.
Very interesting. Thanks!