Skip to content

Panning is broken in most cases #1287

@jaksim

Description

@jaksim

Bug report

Codepen

Some of the official examples that are broken

Explanation

Case 1

  • Click on zoom in button once.
  • Switch to panning tool
  • Now try to drag your view to the right.
  • You will not be able to get the right most point into view again.

Case 2

  • Click on zoom in button once.
  • Switch to panning tool.
  • Try to drag your to the right.
  • You will be teleported to 1970.

Through bisect, I've found that Case 2 was broken by commit 0849cc3
Case 1 doesn't seem to behave very well before that commit either, though I can at least see the last data point. Just the x axis labels show ugly fractions, but that seems to be solvable from client code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions