plotly / plotly/plotly.js

Double clicks not recognized through the trackpad

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

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

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

説明

I've seen a number of issues/bug reports concerning double click behavior, both here on GitHub and on Stack Overflow.

For my part, I noticed that none of the double click gestures were being picked up--in particular, double click to restore zoom level, or double click on legend to hide all other traces.

I observed this behavior while using my laptop's trackpad. However, when I plugged in a mouse, double clicks using that device were recognized just fine. I don't have trouble double clicking using the trackpad in other applications.

I know this issue report is kind of general, and doesn't really zero in on where the problem lies, but I thought I'd throw in this bit of information in case it helps in diagnosing.

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

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

はじめの一歩

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

調査の方向性

まず、ズームの復元と凡例の操作について、ノートパソコンのトラックパッドとマウスでのダブルクリックの挙動を再現します。影響を受けるグラフ操作で2つの入力デバイスを比較し、両方でダブルクリックを認識できるようにするには何を変更する必要があるかを判断します。完了の条件は、マウスの挙動を壊さずに、報告された両方のジェスチャーが機能することです。

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

評価

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

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

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