plotly / plotly/plotly.js

Right click triggers drag event on some machines & fails to fire `plotly_click`

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

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

bug P2
主要言語
JavaScript
スター
18.3k
フォーク
2k
平均マージ
2日 12時間
マージ済み PR(30日)
28

説明

Right clicking charts doesn't fire the plotly_click event on my machine. Here is a minimal stackblitz reproduction. The examples in the docs behave the same for me.

Instead, it seems right click opens the default context menu and starts a drag, and when I click elsewhere I get the event firing for the second click, and then the chart zooms:

Image

It seems this bug only occurs in certain machines:

  • I'm running NixOS with a Gnome desktop and reproduce the bug in Firefox and Chrome.
  • A colleague on Windows with Chrome did not reproduce
  • I failed to reproduce on my partner's Ubuntu machine with Firefox.

Likely related to:

Possibly related to:

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

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

はじめの一歩

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

調査の方向性

main.js にある最小限の StackBlitz 再現から始め、報告されているブラウザーとデスクトップ環境で、その動作をドキュメントのチャート例と比較してください。既存のコンテキストを確認するため、関連する Issue #5311、#6633、#7311、#2101、#6329 を読んでください。右クリックでドラッグが開始されたり、予期しないインタラクションが開いたりしなくなり、意図しないズームなしで plotly_click が一貫して発火すれば完了です。

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

評価

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

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

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