Title: Scroll zoom does not work properly when minimum and maximum range is enabled · Issue #7440 · plotly/plotly.js · GitHub
Open Graph Title: Scroll zoom does not work properly when minimum and maximum range is enabled · Issue #7440 · plotly/plotly.js
X Title: Scroll zoom does not work properly when minimum and maximum range is enabled · Issue #7440 · plotly/plotly.js
Description: Scroll zoom does not work as expected when minimum and maximum range is enabled. Graphical side effects are constantly visible while zooming in/out. See the provided example of the scatter plot chart: Scrolling zoom (mouse wheel) is enab...
Open Graph Description: Scroll zoom does not work as expected when minimum and maximum range is enabled. Graphical side effects are constantly visible while zooming in/out. See the provided example of the scatter plot cha...
X Description: Scroll zoom does not work as expected when minimum and maximum range is enabled. Graphical side effects are constantly visible while zooming in/out. See the provided example of the scatter plot cha...
Opengraph URL: https://github.com/plotly/plotly.js/issues/7440
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Scroll zoom does not work properly when minimum and maximum range is enabled","articleBody":"Scroll zoom does not work as expected when minimum and maximum range is enabled. Graphical side effects are constantly visible while zooming in/out.\n\nSee the provided example of the scatter plot chart:\n- Scrolling zoom (mouse wheel) is enabled (with scrollZoom property).\n- Minimum and maximum range is set (with minallowed and maxallowed properties).\n- (The grids and axes are visualised for better understanding the issue.)\n\nhttps://codepen.io/zabka5/full/XJbYrZV\n\nUse the mouse wheel to zoom out beyond allowed range. \nThe plotted trace is zoomed out even beyond the range. After a while, the plotting is \"corrected\" to the right zoom level. The effect is stronger if you zoom out faster. What is interesting, the axes and the grids are always scaled correctly. It means that plotting of the grid lines is always aware of the range limits but plotting the trace not. \n\nThe same effect can be reproduced while zooming IN relatively fast, even if the plot is \"in the range\". Then, the plotted trace exceeds the area defined by the X and Y axes and then i.e. the bigger than expected, but after a while, plotting is corrected. With this attached example, it is hard to observe this scenario. (Maybe bigger amount of data or slowness of the refreshing of the plot plays a role - with my custom environment, I can see it constantly). \n\n### **The observed flickering is very annoying and shows a serious weakness in this function.**\n\nI have checked the different versions of the plotly library. The issue is easy to reproduce from the very first version introducing the minimum and maximum range, i.e. version v2.26.0 #6547","author":{"url":"https://github.com/pawel-paciorek-at-metrohm","@type":"Person","name":"pawel-paciorek-at-metrohm"},"datePublished":"2025-06-13T14:27:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/7440/plotly.js/issues/7440"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0cdf2d21-535b-c327-68d4-329e039dc57b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C2D2:6C8BA:D4A16E:11C5DBD:6A59479D |
| html-safe-nonce | 39e1ad6cb4ec9c52cd0c4ba2ab205b19d6c980e51d49d7ca8233fab98bcdaad0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMkQyOjZDOEJBOkQ0QTE2RToxMUM1REJEOjZBNTk0NzlEIiwidmlzaXRvcl9pZCI6IjI2Njc1MDEyNjQ3MzM1NTQ1ODkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 86d0e31e6ceb1feeb3546729eaf18dc8f2304ef431b7a7beb57c1bc206fe489e |
| hovercard-subject-tag | issue:3143766910 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/plotly.js/7440/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9a3e84af69695dc49fe00ed95740c825b1e7baa8a9fcf766b7ad91542986a6b8/plotly/plotly.js/issues/7440 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9a3e84af69695dc49fe00ed95740c825b1e7baa8a9fcf766b7ad91542986a6b8/plotly/plotly.js/issues/7440 |
| og:image:alt | Scroll zoom does not work as expected when minimum and maximum range is enabled. Graphical side effects are constantly visible while zooming in/out. See the provided example of the scatter plot cha... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pawel-paciorek-at-metrohm |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9f801e05b35c85b2d72eae6534d2b1d4c02ba8732fd046450bab31e2f52450ce |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 45646037 |
| octolytics-dimension-repository_nwo | plotly/plotly.js |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 45646037 |
| octolytics-dimension-repository_network_root_nwo | plotly/plotly.js |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 49918fc503387d6d65b6bc6ce6f711c14d17bfbd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width