[Webkit-unassigned] [Bug 166849] Consider implementing auxclick event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 9 17:00:59 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=166849

--- Comment #6 from Navid <nzolghadr at chromium.org> ---
I double checked with Chrome. The reason you don't see this on Chrome is due to contextmenu. Context menu on Mac opens after down and so it prevents the page from seeing mouseup and then the click/auxclick. FF as oppose to Chrome does not consider the context menu as something that covers the whole page and consumes all the events.

Anyhow, beside that difference in contextmenu which I'm not sure if we can solve as part of the auxclick, Chrome does send auxclick when the page receives both down and up for a non-primary button. You can see this by preventDefaulting the contextmenu event like as I did here:

https://jsfiddle.net/ejxer8tt/3/

It worked both for the two finger click on the touch pad or for a PC mouse (middle and right buttons) connected to a Mac.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170110/958c19f1/attachment.html>


More information about the webkit-unassigned mailing list