You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am trying to create a dynamic context menu component who receives the list of context menu actions. For this purpose I am using the wrapper by delegating its behavior over ContextMenuService, however the previously opened menus are not closed.
Another strange behavior I notice is the fact that the context menu value is not properly refreshed. The previous value is passed within the visible and disabled context menu operations.
Hello, thank you very much for taking the time to look at it.
It also happens the fist time the context menu is opened, the value passed to the visible function is OK, but the one passed to "disabled" keeps the value from the previous opened context menu. You have to even move the cursor over the menu for this to get refreshed / updated. You can check this behavior because the values are logged to the console.
Describe the bug
I am trying to create a dynamic context menu component who receives the list of context menu actions. For this purpose I am using the wrapper by delegating its behavior over ContextMenuService, however the previously opened menus are not closed.
Another strange behavior I notice is the fact that the context menu value is not properly refreshed. The previous value is passed within the visible and disabled context menu operations.
Your help could be very appreciated.
To Reproduce
Steps to reproduce the behavior:
Stackblitz Example
https://stackblitz.com/~/github.com/lazaro3487/angular-context-menu
The text was updated successfully, but these errors were encountered: