-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
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
edge的edge-editor和vertices工具,有冲突 #3575
Comments
Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. |
我也有类似的问题 |
@NewByVector 这个改动我在最新的 v1.34.14 版本也遇到了,可以将 pr 也更新到 v1.x 版本中吗? 我看 PR 里的相关改动,在 v1 里代码非常不一样,所以让我来的话我也不知道从何下手。 |
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. |
问题描述
同时使用vertices和edge-editor工具,有冲突
必现:
1、一直单击,然后双击不出现文本编辑框
偶现:
1、双击不出现文本
2、重新编辑已存在的文本,文本内容不回显
重现链接
https://codesandbox.io/s/pedantic-galileo-r93r9b?file=/src/index.ts
重现步骤
在创建边的时候,添加内置工具vertices和edge-editor
1、单击边,一直单击
2、编辑文本框,再次双击编辑,文本消失
预期行为
期望结果:
1、双击边,可以出现文本编辑框;同时路径点消失
2、单击边出现路径点
3、点击空白处,清空或隐藏路径点
实际结果:
1、双击边,偶现文本编辑框,且有时点不动
2、一直单击边,后双击不出现文本框
平台
屏幕截图或视频(可选)
QQ20230508-163610-HD.mp4
补充说明(可选)
用户想在边上双击进行文本编辑,同时也想单击边可以调整路径位置,点击空白处可以清楚路径点
The text was updated successfully, but these errors were encountered: