X6 icon indicating copy to clipboard operation
X6 copied to clipboard

多选框显示反应非常慢

Open dayangege opened this issue 3 years ago • 7 comments

问题描述

当画布上有很多节点的时候(4个及以上),鼠标框选选中这些节点,最外层的那个选择框会非常慢的才会显示出来,通常要5秒以上。 但是第二次再框选就会快很多,如果第一次和第二框选之间移动过节点,第二次框选又会变得很慢

重现链接

https://x6.antv.vision/zh/examples/showcase/practices#flowchart

重现步骤

1,拉4及以上的节点到画布,并适当的移动。 2.用鼠标框选2-3个或更多的节点,看看多选框何时显示出来? 3.取消多选,随意移动几个节点。 4.再次用鼠标框选3个以上的节点,看看多选框何时显示出来?

预期行为

多选框应该秒显出

平台

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

屏幕截图或视频(可选)

image

补充说明(可选)

1.32.3版本就没这个问题,怎么选,多选框都会秒显出来,从1.32.4到最新的版本都有这个问题。

dayangege avatar Jul 06 '22 15:07 dayangege

同样遇到了 1.32.3后面的版本都有这个延迟显示选择框的问题 期待解决

damnright avatar Jul 07 '22 09:07 damnright

我遇到的情况是:第一次加载进入画布后,拖动某个cell,然后再点击那个cell,selection box要延迟4秒左右显示出来

damnright avatar Jul 07 '22 09:07 damnright

延迟 大佬有没有详细点的解决方案

somnusx avatar Jul 08 '22 05:07 somnusx

把snapline: true,设置成false他就好了

somnusx avatar Jul 08 '22 06:07 somnusx

把snapline: true,设置成false他就好了

这个功能有用啊,不能关掉。

dayangege avatar Jul 08 '22 08:07 dayangege

多选之前关掉,多选之后开启

somnusx avatar Jul 08 '22 08:07 somnusx

selection 的交互性能已经在我们的工作计划中,而且优先级很靠前,希望能尽快解决你们的问题。

NewByVector avatar Jul 09 '22 11:07 NewByVector

最新版本已经修复了这个问题,请更新到最新版本。

NewByVector avatar Jan 30 '23 08:01 NewByVector

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[bot] avatar Jan 31 '24 01:01 x6-bot[bot]