plotly / plotly/plotly.js

[FEATURE]: Make auto-zoom when panning out of range optional

Open
#7,705 4 comments 0 reactions 1 assignee View on GitHub

@BarnT is already working on this.

Since Feb 11, 2026.

feature
Dominant language
JavaScript
Stars
18.3k
Forks
2k
Avg merge
2d 12h
Merged PRs (30d)
28

Description

Description

Currently if e.g. a scatter plot chart has a range set, and the user uses the panning option over the range, the panning becomes a zooming too.
This behavior could be optional, set by configuration.

Why should this feature be added?

In some charts it can be unclear what is happening when panning around the edge. Especially if the zoom level is so high that not a single datapoint is visible at the moment. In this case the panning could become an infinite task if the user is not aware of what is actually happening.
Also in some cases it could be a more clear indication of the fact the there is a range set.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.