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

position menu based on cursor position when using bindContextMenu #97

Closed
amitozalvo opened this issue Apr 8, 2022 · 4 comments
Closed
Labels

Comments

@amitozalvo
Copy link

Hello, when using bindContextMenu, the menu will always be opened at the same place regardless of the cursor position.

I wanted to know if there's a way to get it to work like a usual context menu where it's obvious the cursor is responsible to be opening the menu

Thanks!

@dbfernandes
Copy link

I had the same problem, I would really like a solution for this.

@jedwards1211
Copy link
Member

I just pushed a change where the menu/popover will be positioned to the cursor position by default when bindContextMenu is used. Once the CI build passes the new version will be released

@jedwards1211
Copy link
Member

🎉 This issue has been resolved in version 4.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@dbfernandes
Copy link

Thank you very much! It worked perfectly!

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

No branches or pull requests

3 participants