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)

Production
enhancement

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.
I'm working on fixing some layout issues, I'll get to this next -- or maybe someone wants it as a good first bug.
Mentor: dylan
Severity: normal → enhancement
Keywords: good-first-bug
Priority: -- → P1
Assignee: nobody → arai.unmht
Status: NEW → ASSIGNED
Attachment #8941460 - Flags: review?(dylan)
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+
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.

Attachment

General

Created:
Updated:
Size: