[BUG]: Background image is rendered at an incorrect size after box zoom followed by mouse wheel zoom out
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- javascript
調査の方向性
リンクされたCodePenを使って問題を再現します。小さなチャート領域をbox zoomし、その後マウスホイールでzoom outして、背景画像とそのx/y座標の参照を比較します。background-imageのレンダリングとズーム操作の経路を追跡し、手動のzoom-out後も画像が正しいサイズと位置を維持することを確認します。また、double-click resetも正しいままであることを確認します。
索引モデルが issue の本文から書いたものです。
説明
Description
On charts containing a background image with xref: "x" and yref: "y", performing a box zoom followed by a manual zoom out causes the background image to be rendered with an incorrect size and position. It no longer matches the coordinate system defined by xref and yref.
Screenshots/Video
https://github.com/user-attachments/assets/08c53c01-0fca-4845-8b59-06e837382884
Steps to reproduce
Here https://codepen.io/JulienIcon/pen/QwdBypd, try to box zoom a small part of the chart and then try to manually zoom out using the mouse wheel
Notes
If the zoom is reset using the default double-click interaction, the background image is rendered correctly again.
- 主要言語
- JavaScript
- スター
- 18.3k
- フォーク
- 2k
- 平均マージ
- 2日 12時間
- マージ済み PR(30日)
- 28
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
plotly/plotly.js のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
chore P1 plotly-internal size: 1 task
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
-
chore P3 plotly-internal size: 1 task
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
bug infrastructure P2
難易度 1/5 1時間未満 初心者へのやさしさ 65/100