-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
scrollZoom no longer works when page is scrollable #2371
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
Comments
I can't reproduce this on any of my browsers (mac OS 10.13, latest Chrome, FF, Safari) - The OP seems to be on Windows, but I guess you see it on Ubuntu as well @etpinard ? |
Yep. I can reproduce on my Ubuntu machine fine. @dfcreative can you double check on Windows? |
@etpinard only the last plot is working, but all three of them should work, that is what I see. Confirm the bug. |
In the example linked to in the opening post, none of the plots work for me, neither in Chrome nor Firefox. A couple of observations (Windows):
(for some reason, all plots are scrollable on CodePen with this code) |
Any news on this one? Thanks, |
@dy have you done any work on this thing? |
... and are you still planning on working on this? If not, I'll remove you from the assignee list. |
@etpinard I will devote this issue time tomorrow. |
Used to disable scrollzoom when the plot had scrollbars. Ended up with a plot which is not zoomable with mouse scroll on a page which had additional content (had a scrollbar).
Looks like this wasn't a regression, but a bug introduced into newer Browsers. #2296 isn't the culprit, this block plotly.js/src/plots/cartesian/dragbox.js Lines 437 to 442 in 9bbe295
is. |
Originally posted https://community.plot.ly/t/scrollzoom-doesnt-work-in-chrome/7356/5
Example: http://marfoldi.web.elte.hu/plotly.html
Possible culprit: #2296
The text was updated successfully, but these errors were encountered: