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

Menu closes if onMouseMove or onPointerMove event is called on Parent #39

Open
abhicoditation opened this issue Mar 6, 2023 · 1 comment

Comments

@abhicoditation
Copy link

Hi.
I have ContextMenuTrigger under a div.
On this parent div, I am using events like onPointerMove and onMouseMove.

If I don't use these event callbacks, the context menu opens and works fine. But as soon as I use these functions, the right menu closes as soon as I move my mouse.

Screen.Recording.2023-03-06.at.7.02.01.PM.mov
@reachtokish
Copy link
Owner

@abhicoditation thanks for creating the issue. Was off for few days. Couldn't check the issue.

I tried reproducing your issue at my end but couldn't do so. Kindly share reproducible codesandbox link or sample codebase

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