plotly / plotly/plotly.js

Restyle in a zoomed 3D state sometimes changes the zoom level

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

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

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

説明

When using Scatter3D, sometimes if the plot is restyled while it is in a zoomed state, the zoom level is spontaneously changed; sometimes a little, sometimes a lot.

To reproduce:

  1. Visit this codepen: https://codepen.io/k_sze/pen/WXgNoJ
  2. Zoom the plot a little bit using your mouse wheel; You can zoom in or out;
  3. Open codepen's console and run the restyle() function;
  4. Watch the plot's zoom level get changed spontaneously.

You may need to repeat steps 2 and 3 a few times.

Not sure if it's related to #346 and the fix in #351.

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

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

はじめの一歩

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

調査の方向性

リンクされた CodePen で Scatter3D を使用して問題を再現します。マウスホイールでズームし、その後コンソールから restyle() を実行します。Scatter3D の restyle パスを追跡し、関連する issue #346 および #351 と動作を比較します。restyling によってプロットの既存のズームレベルが変更されなくなれば完了です。

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

評価

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

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

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