X6 icon indicating copy to clipboard operation
X6 copied to clipboard

多选后,拖动选框,选框飘逸问题。

Open zhanghanguang-git opened this issue 2 years ago • 2 comments

问题描述

配置项为可滚动、鼠标滚轮缩放及following:false,多选后,拖动选框,选框飘逸,位置不准。

重现链接

https://codesandbox.io/s/infallible-hodgkin-nnpv7y?file=/src/app.tsx

重现步骤

1.打开链接https://codesandbox.io/s/infallible-hodgkin-nnpv7y?file=/src/app.tsx

2.选择多个图元,鼠标滚轮缩放画布,拖动多选框

预期行为

选框应该跟随鼠标位置,结果却偏离在鼠标外

平台

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

屏幕截图或视频(可选)

Uploading 轻映录屏 2022-04-19 11-23-06.mp4…

补充说明(可选)

No response

zhanghanguang-git avatar Apr 19 '22 03:04 zhanghanguang-git

补充一下视频

https://user-images.githubusercontent.com/42563407/163917388-824046e3-e131-4fe6-8ad0-eb2ca0cde3a5.mp4

zhanghanguang-git avatar Apr 19 '22 03:04 zhanghanguang-git

感谢提出问题,selection 的优化已经在我们的计划中。

NewByVector avatar Apr 21 '22 02:04 NewByVector