zoom behaves incorrectly when dragging with right mouse button held down
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 18.3k
- フォーク
- 2k
- 平均マージ
- 2日 12時間
- マージ済み PR(30日)
- 28
説明
When having zoom enabled, I can use the left mouse button to drag a box around the area of interest and get a zoomed in version of my graph.
However, when I'm doing the exact same action with not the left mouse button held down, but the right mouse button held down there should not be any zoom applied. The current behaviour is, that I drag with the right mouse button held down, no box is drawn, but if I release the right mouse button there is zoom applied showing data within a distance of two units around the initially right-clicked point.
It is reproducible in this stackblitz.
Please feel free to ask, if you need any other details.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
リンクされた StackBlitz の再現コードにある script.js から始め、チャートのズームドラッグとマウスボタン処理を追跡してください。現在の右ボタンの動作を確認し、続いて関連するインタラクションコードとテストを特定してください。右ボタンを押したままドラッグしても、ボタンを離した後にズームが適用されず、左ボタンによるズームは引き続き機能すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- data-visualization
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100