Comfy-Org / Comfy-Org/ComfyUI_frontend
Nodes 2.0: cancelling context menu causes UI to fail any context option afterwards
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 699
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 490
Description
### Prerequisites
- [x] I am running the latest version of ComfyUI
- [x] I have searched existing issues to make sure this isn't a duplicate
- [x] I have tested with all custom nodes disabled ([see how](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled))
### What happened?
See video attached:
https://github.com/user-attachments/assets/2949717e-eedd-4c29-83e9-133f0992488a
### Steps to Reproduce
1. Right click on a node, then click on an option that has a submenu, like `Shape` or `Color`
2. Instead of selecting an option in the submenu, click outside to close it
3. Notice how the `Node Info` option disappears, since now there's no node selected.
4. However, the node menu is still open. Clicking any option, such as `Rename` will fail.
### How is this affecting you?
Visual/UI issue only
### ComfyUI Frontend Version
1.34.2
### Browser
Chrome/Chromium
### Console Errors
```javascript
```
### Logs
```shell
```
### Additional Context
_No response_
┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-7039-Nodes-2-0-cancelling-context-menu-causes-UI-to-fail-any-context-option-afterwards-2ba6d73d36508185a66bc948f34d1032) by [Unito](https://www.unito.io)
Contributor guide
Assessment
This issue has not been assessed yet.