patternfly-react
patternfly-react copied to clipboard
Bug - [DropDown] - [Dropdown menu does not close close on right click]
Describe the problem
We have a kebabmenu (MenuToggle) when right clicking outside of the dropdown menu it does not close while a left mouse click does close it.
This becomes a bit more of an issue as our application handles the "contextmenu" right click by showing a menu. See https://github.com/cockpit-project/cockpit-files/issues/270 for more details.
How do you reproduce the problem?
- Go to https://www.patternfly.org/components/menus/dropdown/#basic-dropdowns
- Right click on a part of the page
Expected behavior
Should a Dropdown menu not close when right clicking? Or is this too specific for PatternFly to handle.
Is this issue blocking you?
We can workaround the issue by handling a "contextmenu" ourself.
Screenshots
What is your environment?
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
What is your product and what release date are you targeting?
Cockpit-files, no release date we release bi-weekly :)
Any other information?