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

How can I close old menu and open new one when right click? #90

Open
prateek756 opened this issue Aug 20, 2020 · 1 comment
Open

How can I close old menu and open new one when right click? #90

prateek756 opened this issue Aug 20, 2020 · 1 comment

Comments

@prateek756
Copy link

prateek756 commented Aug 20, 2020

Hi,

I am currently using angular 7 and when I right click first time then menu is opening perfectly but then I right click on different place again when menu is opened then instead of opening the new menu, its opening default menu of browser and not closing the old one.

I want, if I right click anytime, anywhere, it should open the new menu and should close old menu, if opened.

Screenshot of Issue:
Annotation 2020-08-20 183716

Thanks

@msarsha
Copy link
Owner

msarsha commented Aug 22, 2020

Hey!

This is happening because the second right-click hit the overlay element.
This is probably an easy fix, the menu should be closed and opened again when the overlay is clicked.

Not sure when I will have time to implement it, but I will be more than happy to guide you if you would like to contribute.

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