plotly / plotly/plotly.js

[BUG]: Box/Lasso select stops working and makes page freeze after adjusting previously selected range

オープン
#8,007 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug P2 size: 3
主要言語
JavaScript
スター
18.3k
フォーク
2k
平均マージ
2日 12時間
マージ済み PR(30日)
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 select or Lasso 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.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、ブラウザーの開発者ツールを開いた状態で、https://plotly.com/javascript/lasso-selection/ の Plotly の lasso 選択の例で問題を再現します。範囲を選択し、それを調整して、参照されている Plotly バージョンでの動作を比較します。既存の box 選択または lasso 選択を調整しても、無限にログが出力されたりページがフリーズしたりしなくなれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript
領域
data-visualization
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
65/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。