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

Context menu remains visible after right-clicking and not selecting a menu item #409

Open
testone740 opened this issue Jun 6, 2024 · 1 comment

Comments

@testone740
Copy link

Describe the bug
The context menu stays visible after I right-click on a table then navigates away and back. This strange behavior is also found in live demos and examples where contextmenu is set. Steps to reproduce:

  1. Go to the Budget Planner example ([https://reactgrid.com/examples/?example=budget-planner])(https://reactgrid.com/examples/?example=budget-planner)
  2. Right-click on the table to bring up the context menu.
  3. Navigate away by either clicking on another example or going to the ReactGrid homepage. Note: Do not copy/paste a URL into the address bar.
  4. Go back to the Budget Planner example by clicking the browser Back button. The context menu is visible when it should not be.

Current behavior
The context menu pops up when user right-clicks. User goes to another page then comes back. The context menu stays visible.

Expected behavior
After context menu is visible and user navigates away, the context menu should NOT stay visible when user navigates back.

Screenshots or gifs
ReactGrid-ContextMenu

Your environment details

  • Device: Desktop
  • OS: MacOS
  • Browser: Chrome (125.0.6422.141), Edge (125.0.2535.85)
@MichaelMatejko
Copy link
Contributor

Thanks for submitting. I agree, this is a bug, but it's not severe.
We are working on a new version now which will eliminate the context menu and enable the user to use any context menu he wants.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants