Selection 插件位置变化后框选位置错误
- Dominant language
- TypeScript
- Stars
- 6.7k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
### 问题描述
框选后修改位置,选框没有更新到变化后的位置中
### 重现链接
https://codesandbox.io/p/sandbox/lucid-fog-ureldw
### 重现步骤
1. 按住ctrl 框选所有节点和边
2. 点击修改位置按钮
### 预期行为
我期望看到在框选后,调整位置,选框能保持对节点/边的框选,但实际上会出现选框没有框住节点的问题。
### 平台
- 操作系统: [macOS, Windows, Linux, React Native ...]
- 网页浏览器: [Google Chrome, Safari, Firefox]
- X6 版本: [1.28.2 ... ]
### 屏幕截图或视频(可选)

### 补充说明(可选)
_No response_
Contributor guide
Research direction
Start with the Selection plugin and reproduce the behavior using the linked CodeSandbox: select all nodes and edges with Ctrl, then click the position-change button. Check how the selection box responds after the nodes move. Done means the selection remains aligned and continues to enclose the selected nodes and edges after their positions change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100