Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.

Dropdown menu closes on right click in Firefox #5051

Closed
@thomassuckow

Description

@thomassuckow

In Firefox, the dropdown menu closes immediately after opening if it is triggered by a right click (contextmenu event) because Firefox sends a click event to the document object despite no other browser doing this.

It would be preferable to check if the click event has evnt.which === 3 and if so not close the menu. That way it behaves the same on all browsers.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions