Restyle in a zoomed 3D state sometimes changes the zoom level
Open
Nobody has claimed this yet.
bug
P3
- Dominant language
- JavaScript
- Stars
- 18.3k
- Forks
- 2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 28
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the linked CodePen using Scatter3D: zoom with the mouse wheel, then run restyle() from the console. Trace the Scatter3D restyle path and compare the behavior with the related issues #346 and #351. Done means restyling no longer changes the plot's existing zoom level.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100