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

ContextMenu closes when hovering a validation error #110

Closed
brownieboy opened this issue Jun 30, 2022 · 2 comments · Fixed by #112
Closed

ContextMenu closes when hovering a validation error #110

brownieboy opened this issue Jun 30, 2022 · 2 comments · Fixed by #112
Labels
bug Something isn't working

Comments

@brownieboy
Copy link

brownieboy commented Jun 30, 2022

So this is on the JSON Schema Validation example, after running yarn dev in the repo.

I'm trying to edit the age value via the context menu. My natural motion then is to move the mouse to the right and down simultaneously,in order to get to the Edit value button. But doing so leaves the menu trigger area completely, so causing the menu to disappear.

svelte-delay-needed

To actually reach the Edit value button, I have to move the move first down, and then to the right, as shown at the end of the animated GIF above. That's not really intuitive though.

So maybe some kind of delay here before the context menu closes on exit? A half or second or so ought to be enough.

@josdejong
Copy link
Owner

Thanks for reporting, the screenshare is very helpful.

This is a bug I noticed before but haven't addressed yet. The issue is that the context menu closes when you hover over a validation warning (which also opens a popup). I'll adjust the title of this issue accordingly.

You will not encounter the issue when you right-click to open the context menu, since the mouse will already be on top of the context menu in that case.

@josdejong josdejong added the bug Something isn't working label Jun 30, 2022
@josdejong josdejong changed the title Context menu disappears before I can click on an option ContextMenu closes when hovering a validation error Jun 30, 2022
@josdejong
Copy link
Owner

Fixed now in v0.4.0

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

Successfully merging a pull request may close this issue.

2 participants