In case of double click event in the data table. First single click event is getting fired.
How to prevent single click event to get fired if double click is done?
If you are working with HTML events - It is native browser’s behavior.
For custom events ( onItemClick, onItemDblClick ), in case of dbl-click event, onItemClick must not be triggered.
It is happening for me also. In case of dbl-click event, onItemClick is also getting triggered.
Please provide a snippet that solves this issue…
This is expected behavior. To distinguish single clicks and double clicks we need to wait about 300ms about the first click, to be sure that there is no second one.
Such delay is not acceptable for apps where some reaction must occurs after single click.
In IE8, two clicks always exceed 300ms, so double click not works.