Skip to content
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

Closed
jennyxu520 opened this issue May 9, 2023 · 4 comments · Fixed by #3577
Closed

edge的edge-editor和vertices工具,有冲突 #3575

jennyxu520 opened this issue May 9, 2023 · 4 comments · Fixed by #3577

Comments

@jennyxu520
Copy link

问题描述

同时使用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、一直单击边,后双击不出现文本框

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]
  • X6 版本: [2.9.4 ]

屏幕截图或视频(可选)

QQ20230508-163610-HD.mp4

补充说明(可选)

用户想在边上双击进行文本编辑,同时也想单击边可以调整路径位置,点击空白处可以清楚路径点

@x6-bot
Copy link
Contributor

x6-bot bot commented May 9, 2023

👋 @jennyxu520

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

@JamesTing
Copy link

我也有类似的问题

@hylerrix
Copy link
Contributor

hylerrix commented Jul 12, 2023

@NewByVector 这个改动我在最新的 v1.34.14 版本也遇到了,可以将 pr 也更新到 v1.x 版本中吗?

我看 PR 里的相关改动,在 v1 里代码非常不一样,所以让我来的话我也不知道从何下手。

CleanShot 2023-07-12 at 19 03 33

@x6-bot
Copy link
Contributor

x6-bot bot commented Jul 12, 2024

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.

@x6-bot x6-bot bot locked as resolved and limited conversation to collaborators Jul 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants