[openstreetmap/openstreetmap-website] contextmenu overwriting with shiftKey does not work (#1452)

Holger Jeromin notifications at github.com
Tue Feb 21 09:11:52 UTC 2017


Perhaps your browser missed the `mouseup` event so it does not reenable anymore. Loosing events are not rare with mouse interaction so the whole concept (keeping mousedown and leaving the browser focus with a keyboard shortcut).
So the whole process is probably best done with keeping the events registered and calling preventDefault() in the eventhandler itself if shiftKey is pressed.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1452#issuecomment-281285905
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170221/2118bedb/attachment-0001.html>


More information about the rails-dev mailing list