add option to disable right mouse button events (specifically RMB drag)
オープン
まだ誰も着手していません。
feature
P3
- 主要言語
- JavaScript
- スター
- 18.3k
- フォーク
- 2k
- 平均マージ
- 2日 12時間
- マージ済み PR(30日)
- 28
説明
There is an existing bug report (that for some reason did not get any traction): #5311
If fixing this issue specifically is far out of current roadmap or too complex - maybe it would be possible to add an option to disable right mouse button interactions altogether?
I've spent some hours trying to ignore various events (mouseup, oncontextmenu) for my plot and its parent components
but was not able to stop Plotly from interacting with right mouse button drag.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、リンクされた issue #5311 を読み、Plotly.js で右マウスボタンによるドラッグ動作を再現してください。レポートではソースファイルもテストも特定されていないため、オプションを定義する前にインタラクション処理のエントリーポイントを見つけてください。右ボタンのインタラクションを、他のマウス操作を変更せずに無効化できれば完了とします。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- data-visualization, frontend
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100