[Bug]: drag时drag的是锚点,鼠标松开后,拖拽事件无法结束,一直处于拖拽中
- Dominant language
- TypeScript
- Stars
- 12.3k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug / 问题描述
在使用动态开启/关闭拖拽事件过程中,发现 drag时drag的是锚点,鼠标松开后,拖拽事件无法结束,一直处于拖拽中,就算在beahvior中去掉drag-element事件,也会触发drag事件,且无法结束:
5.0.49版本
### Reproduction link / 复现链接
_No response_
### Steps to Reproduce the Bug or Issue / 重现步骤
_No response_
### Version / 版本
🆕 5.x
### OS / 操作系统
- [ ] macOS
- [x] Windows
- [ ] Linux
- [ ] Others / 其他
### Browser / 浏览器
- [x] Chrome
- [ ] Edge
- [ ] Firefox
- [ ] Safari (Limited support / 有限支持)
- [ ] IE (Nonsupport / 不支持)
- [ ] Others / 其他
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue in G6 5.0.49 on Chrome for Windows, using dynamically enabled or disabled drag behavior and dragging an anchor. Investigate the drag lifecycle and verify that releasing the mouse ends dragging, including after removing the drag-element behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100