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

[bug]: Context Menu Not Updating Position on Consecutive Right-Clicks #6188

Open
2 tasks done
siam500561 opened this issue Dec 27, 2024 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@siam500561
Copy link

Describe the bug

When using the Context Menu component, the menu opens correctly upon the first right-click. However, if the user moves the cursor to a different position within the context and right-clicks again (without first performing a left-click elsewhere), the menu does not update its position. Instead, it continues to open at the previous position until the user performs a left-click.

Affected component/components

Context Menu

How to reproduce

  1. Right-click within the context area to open the context menu.
  2. Move the cursor to another position within the context area.
  3. Right-click again without performing a left-click in between.
  4. Observe that the context menu still opens at the original position rather than the new cursor position.

Codesandbox/StackBlitz link

No response

Logs

No response

System Info

Windows 11 Pro 24H2

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues
@siam500561 siam500561 added the bug Something isn't working label Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant