antvis/G6

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

重现步骤

  1. Go to the example page: https://antv-g6.gitee.io/en/examples/tool/contextMenu#contextMenu
  2. right click on node3
  3. 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


This issue has been closed because it has been outdate for a long time. Please open a new issue if you still need help.

这个 issue 已经被关闭,因为 它已经过期很久了。 如果你仍然需要帮助,请创建一个新的 issue。

posted by github-actions[bot] 10 months ago

Fund this Issue

$0.00
Funded

Pull requests