antvis/G6

The issue has been closed
The menu will be hidden when clicking inside the context menu #4368
loveshiun posted onGitHub
问题描述
The menu will be closed when clicking inside, so any operations will not be allowed. For example, selecting text for copying, multiple select, input box, or any other interactions.
重现链接
https://antv-g6.gitee.io/en/examples/tool/contextMenu#contextMenu
重现步骤
- Go to the example page: https://antv-g6.gitee.io/en/examples/tool/contextMenu#contextMenu
- right click on node3
- try to select text "li 3"
预期行为
Unable to select the text. Furthermore, if it contains submenus, clicking "li 1" will not show "li 1-1, li 1-2", but will just close the menu.
平台
- 操作系统: [macOS, Windows, Linux, React Native ...]
- 网页浏览器: [Google Chrome, Safari, Firefox]
- G6 版本: [4.5.1 ... ]
屏幕截图或视频(可选)
No response
补充说明(可选)
No response