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

Multiple instances of context menu opened on one page #37

Open
jandeu opened this issue Apr 22, 2024 · 1 comment
Open

Multiple instances of context menu opened on one page #37

jandeu opened this issue Apr 22, 2024 · 1 comment

Comments

@jandeu
Copy link

jandeu commented Apr 22, 2024

Describe the bug

Hi, I'm not sure if this is an intended behaviour or a bug. When there is more then one instance of context menu on a page opening the second one does not close the first one. I'm pretty sure that in 15.1.1 only one context menu could be opened on a page.

To Reproduce
Steps to reproduce the behavior:

  1. Add context menu to a component
  2. Add two instances of the component on one page
  3. Open context menu in each component
  4. Two context menu are opened at the same time

Expected behavior

Only one context menu is opened at a page at the same time

Stackblitz Example

https://stackblitz.com/edit/stackblitz-starters-4fthiu

@sroucheray
Copy link
Member

Hi @jandeu,

Thanks for the report.

It seems a bug. I need to look at this.

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