Closed
Bug 1429449
Opened 8 years ago
Closed 8 years ago
Dropdown menu shouldn't handle non-primary button click
Categories
(bugzilla.mozilla.org :: User Interface, enhancement, P1)
Tracking
()
RESOLVED
FIXED
People
(Reporter: arai, Assigned: arai, Mentored)
Details
(Keywords: good-first-bug)
Attachments
(1 file)
Steps to reproduce:
1. have some notification
2. click requests icon next to avatar
3. click the menu item with secondary mouse button
Actual result:
the dropdown menu closes
Expected result:
the dropdown menu keeps opened and context menu is opened for the element under the mouse cursor
https://github.com/mozilla-bteam/bmo/blob/4104df0c3e48105a95f163cd9e8bec40b87a8854/js/dropdown.js#L11-L17
https://github.com/mozilla-bteam/bmo/blob/4104df0c3e48105a95f163cd9e8bec40b87a8854/js/dropdown.js#L102-L103
those event handlers should check the 'e.button' and ignore the event if it's non-zero (non-primary)
the same issue happen for other dropdowns, like "New/Clone Bug" menu at the bottom of bug page.
Comment 1•8 years ago
|
||
I'm working on fixing some layout issues, I'll get to this next -- or maybe someone wants it as a good first bug.
Assignee | ||
Comment 2•8 years ago
|
||
Comment 3•8 years ago
|
||
Comment on attachment 8941460 [details] [review]
Do not handle non-primary click on dropdown menu.
thanks! You're a returning contributor of course. :-)
Attachment #8941460 -
Flags: review?(dylan) → review+
Updated•8 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•