We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nodeSelectionBox
https://x6.antv.antgroup.com/tutorial/plugins/selection
Hello
Rect
N/a
No response
The text was updated successfully, but these errors were encountered:
https://codesandbox.io/s/html-shape-for-x6-0y71sv?file=/html.ts:2989-2995
可以考虑参考 x6-html-shape这个包的逻辑,在选中的时候,将当前节点的zIndex临时设置到最顶层?或者调用toFront将选择的节点放到最顶层?
x6-html-shape
Sorry, something went wrong.
我理解上面的现象是正常的,选择框是标记该节点被选中的状态,应该是显示在最上层,它和节点是否在最上层没有关系,这样用户很明显发现被选中的元素,特别是一个元素被完全覆盖在另一个节点内部的场景中会比较实用。也可以参考 drawio、excalidraw 的交互。
如果与业界其他产品的交互一致,那还是保持原样吧
This thread has been automatically locked because it has not had recent activity.
Please open a new issue for related bugs and link to relevant comments in this thread.
No branches or pull requests
Describe the bug
nodeSelectionBox
位于最上层。Your Example Website or App
https://x6.antv.antgroup.com/tutorial/plugins/selection
Steps to Reproduce the Bug or Issue
Hello
节点和Rect
节点拖动到有部分重叠Rect
节点Rect
节点处于Hello
节点后面,但是和Rect
节点应该是一体的nodeSelectionBox
却位于Hello
节点上层Expected behavior
N/a
Screenshots or Videos
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: