View Single Post
Posts: 86 | Thanked: 8 times | Joined on May 2010
#1352
Originally Posted by Bundyo View Post
I'm not sure that contextmenu event is supported in that old version, and for sure the menu can't be canceled even if it is (I'm not sure it can in the other browsers available for NIT)
The contextmenu event is emitted by Tear, and it can be canceled. I use jQuery and implemented the cancellation like this:
Code:
$(document).bind('contextmenu', function() { return false; } );
Originally Posted by Bundyo View Post
Check the PPK mobile events table here. You can see that dblclick event is not supported at all (check the legacy events part) and contextmenu event is barely supported across all mobile platforms. Knowing that all legacy events are simulated (that is - fired after the touch events, just for compatibility), this sounds rather logical.
That table does not clearly cite which version(s) of Webkit are being tested. The dblclick event is generated within Tear, but I think it has a small time threshold and a small position-change tolerance.
 

The Following User Says Thank You to mcow For This Useful Post: