Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Menu element does not hide when right-clicking again #44869

Open
niceblex33 opened this issue Dec 27, 2024 · 0 comments
Open

The Menu element does not hide when right-clicking again #44869

niceblex33 opened this issue Dec 27, 2024 · 0 comments
Labels
status: waiting for maintainer These issues haven't been looked at yet by a maintainer

Comments

@niceblex33
Copy link

niceblex33 commented Dec 27, 2024

Steps to reproduce

Steps:

  1. Open this link to live example:
  2. Wait for the page to load; if it doesn't load quickly, click the "Open preview in new tab" button—it helped me fix the blank white page immediately.
  3. Right-click on the status cell of Product-1, a menu should open.
  4. Now right-click on the status of Product-10, for example.
  5. Continue clicking anywhere, the menu will not close.

Current behavior

The menu does not close, the browser's standard menu is displayed

Expected behavior

The menu closes, the standard browser menu is not displayed.

Context

I tried comparing my code with the MUI example code and experimentally found that this bug does not recur if the "Menu" element is placed inside "TableCell". However, this option doesn't suit me well because I need one common menu, not many separate ones. The left mouse button, by the way, works correctly.

Also, I am very new to React, please forgive any obvious mistakes if I have made them.

Your environment

FirefoxBrowser 133.0 (64-bit) for ubuntu
Crhrome Version 119.0.6045.123 (Official Build) (64-bit) ubuntu

Search keywords: menu right-clicking oncontextmenu

@niceblex33 niceblex33 added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting for maintainer These issues haven't been looked at yet by a maintainer
Projects
None yet
Development

No branches or pull requests

1 participant