New issue
Advanced search Search tips

Issue 873677 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Aug 16
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Middle and right clicks are not send to JS.

Project Member Reported by sahel@chromium.org, Aug 13

Issue description

Chrome Version: (copy from chrome://version)
OS: (e.g. Win10, MacOS 10.12, etc...)

What steps will reproduce the problem?
(1)Open the attached html file
(2)Open dev tools console tab
(3)Middle click on the div and/or document.

What is the expected result?
The middle/right click events must trigger the 'click' event listener.

What happens instead?
No click event is sent to JS.

Safari sends the middle click events both to the div and the document but not the right clicks. Firefox sends both middle and right clicks to the doc only and not the div.

 
I believe this is by design.
Chrome implemented auxclick ( issue 625847 ) some time ago because middle-click-triggering-click was non-standard and caused interoperability as well as compatibility (and usability, I would say) issues. See  issue 255 . Only WebKit based browsers trigger(ed?) click for middle clicks (in the same manner as left clicks, that is).
Firefox implements auxclick as well, but I guess it also supports firing click on the document (sounds weird to me, though) for middle clicks and right clicks.
(Also, nothing is attached)
Status: WontFix (was: Assigned)
Riiight, I remember auxclick now :)

Thanks, phistuck@. Marking as WontFix in that case.

Sign in to add a comment