-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug in simple zoom in #3943
Labels
bug
something broken
Comments
Got it: Thanks for letting us know @michalwoz !! |
etpinard
added a commit
that referenced
this issue
Jun 11, 2019
- first reason, why don't need to - second reason, mutation aren't reset meaning going from 2d back to 1d zoombox lead to wrong rendering after mouseup and a discrepency between gd.layout(x|y).range and gd._fullLayout(x|y).range values
etpinard
added a commit
that referenced
this issue
Jun 11, 2019
- first reason, why don't need to - second reason, mutation aren't reset meaning going from 2d back to 1d zoombox lead to wrong rendering after mouseup and a discrepency between gd.layout(x|y).range and gd._fullLayout(x|y).range values
zenixls2
pushed a commit
to zenixls2/plotly.js
that referenced
this issue
Jun 17, 2019
* master: (21 commits) 1.48.3 update changelog for 1.48.3 clean up fx helpers from funnel info - cleanup custom_assertions from isEmpty hack revert es6-promise and topojson-client versions revise funnel hovertemplate and hoverinfo based on comments fix issue 3954 - implement hoverinfo and hovertemplate for funnel percentages bump es6-promise and topojson-client - uninstall font-atlas-sdf bump js-yaml to 3.13.1 bump ecstatic to 3.3.2 1.48.2 update changelog for 1.48.2 bump delays during legend interactions tests bump tolenrance in sankey suite bump tolerence in Drawing.bbox test use assets/drag.js across test suites bump tolerence in multicategory tick label test fix plotly#3943 - don't mutate fullLayout ax ranges during zoombox mousemove adapt test suites that require assets/drag.js generalize assets/drag.js bump tinycolor2 to 1.4.1 - bump few dev-deps too ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is little bug in zooming in. When you click and release in parallel point to axis you can see two vertical or horizontal lines: A

and zoom in "range mode" on x or y axis.
When you click not in parallel you can go to "rectangle zoom mode": B

The problem is that when your mouse move during click and release is not almost perfectly parallel to axis you see parallel lines(picture A), but in effect you get zoom in rectangle mode. I experience it in simplest plotly configuration.
you can easily recreate this on
https://plot.ly/~demos/1414
by releasing mouse click zoom at this point:

The text was updated successfully, but these errors were encountered: