Restyle in a zoomed 3D state sometimes changes the zoom level
未關閉
還沒有人認領這個 Issue。
bug
P3
- 主要語言
- JavaScript
- 星號
- 18.3k
- 分支
- 2k
- 平均合併
- 2 天 12 小時
- 30 天內合併 PR
- 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:
- Visit this codepen: https://codepen.io/k_sze/pen/WXgNoJ
- Zoom the plot a little bit using your mouse wheel; You can zoom in or out;
- Open codepen's console and run the
restyle()function; - 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.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
使用 Scatter3D 透過連結的 CodePen 重現此問題:使用滑鼠滾輪縮放,然後從主控台執行 restyle()。追蹤 Scatter3D 的 restyle 路徑,並將行為與相關的 issue #346 和 #351 進行比較。當 restyling 不再變更圖表現有的縮放層級時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript
- 領域
- data-visualization
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100