plotly / plotly/plotly.js

[BUG]: Chart flips on panning

Open
#7,703 2 comments 0 reactions 1 assignee View on GitHub

@alexcjohnson is already working on this.

Since Feb 6, 2026.

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

Description

Description

If going too far (out of the chart's borders) with the mouse while panning a chart that has maximum range given, the chart flips. See video.

Screenshots/Video

https://github.com/user-attachments/assets/d4da78f9-ee1a-4c2a-adf5-1788763afa2d

Steps to reproduce

Try on jsfiddle: https://jsfiddle.net/ew1o5hv0/12/
Make the window of the example high enough (approx. 2-3 times the height of the chart)
Start grabbing the chart from the middle and go down with the mouse.

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.