[BUG]: Box/Lasso select stops working and makes page freeze after adjusting previously selected range
未关闭
还没有人认领这个 Issue。
bug
P2
size: 3
- 主要语言
- JavaScript
- 星标
- 18.3k
- 派生
- 2k
- 平均合并
- 2 天 12 小时
- 30 天内合并 PR
- 28
描述
Description
The box/lasso select function stop working after adjusting previously selected range.
Screenshots/Video
https://github.com/user-attachments/assets/0626a7ee-dfce-45e6-aa79-d9b0f1df04fc
Steps to reproduce
- Go to this page: https://plotly.com/javascript/lasso-selection/
- Plat with the example, select
Box selectorLasso select - Select a range first, and then adjust the range again
- Open the devtool and you will see infinite logs coming out and will make the page freeze.
Note
The example uses plotly v3, I replaced it with v4, the issue persists.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,在打开浏览器开发者工具的情况下,于 https://plotly.com/javascript/lasso-selection/ 上的 Plotly 套索选择示例中重现该问题。选择一个范围,调整它,并比较所引用 Plotly 版本中的行为。当调整现有的 box 或 lasso 选择不再产生无限日志或导致页面冻结时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- data-visualization
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 65/100