plotly / plotly/react-plotly.js
Uncaught TypeError: Cannot read property 'match' of null when clicking any options in the ModeBar
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 1.1k
- フォーク
- 138
- 平均マージ
- 3日 2時間
- マージ済み PR(30日)
- 4
説明
"plotly.js": "^1.55.2"
"react": "^16.13.1"
"react-plotly.js": ^"2.5.0"
I am using react-plotly.js for our project.
I haven't modified much on this ModeBar (image below)

Added only two configs to the ModeBar
config={{
displayModeBar: true,
toImageButtonOptions: {
filename: "something",
},
}}
It doesn't always happen but time to time, by clicking one of the options from the ModeBar, it still does the job without crashing the app but in console, it prints the following errors.

Right after I created this issue, just refreshed the app and went over exact same steps but no warning message this time.
I am quite new to React and this error message only comes from ModeBar buttons so I am assuming it's something to do with plotly.js library?
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
報告されている plotly.js、react、react-plotly.js のバージョンと、displayModeBar および toImageButtonOptions を含む ModeBar config から開始します。ModeBar オプションをクリックして断続的に発生するエラーを再現し、コンソールのスタックトレースを取得して、その失敗がこの React wrapper に属するのか plotly.js に属するのかを特定します。所有者と信頼できる再現方法が確立されれば、issue は解決済みです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, react
- 領域
- data-visualization, frontend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100