Fix context menu retrigger race (#59059)
Fixes #58711 When a context menu is triggered from inside another context menu, we have a race condition related to ipc. This is cause by the `close` event for context menus being global. In the retrigger case, `close` ends up being fired after the second context menu is created. This ends up removing the click handler for the new context menu Fix is to add a menu id to the close event.
Showing
想要评论请 注册 或 登录