Context menu on mobile devices


We have a GoogleMap that also has a context menu.  It is properly deployed when right-clicking on desktop. However, on mobile, sometimes it is deployed when    1) pinch-zooming   and 2) drag-and-dropping map markers.  (if the finger is on the screen in one place too long)

As a workaround, I can temporarily remove the Map’s context menu when in drag-and-drop mode, so it doesn’t deploy.  But pinch-and-zoom should always be on.

Is there a way to change the amount of time a finger must be pressed on the touch-screen before the context menu deploys?




  • You must to post comments

I don’t think it’s an emulated event by wisej/qooxdoo. The library emulates touch events on desktops, not the other way around. Or at least I couldn’t find it in the code or the docs. The “contextmenu” event seems to be generated by the mobile browsers natively and it doesn’t appear to be a Wisej issue.

You can disable it on the device by adding javascript or you can disable it in your code when detecting a mobile device.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.