Skip to content

Space time chart panning gets stuck near the bottom #775

Open
@Castavo

Description

@Castavo

What happened?

When panning (click and drag) the space-time chart, when you scroll at moderate speed, it gets stuck near the bottom. You then either have to regrab or scroll.
On the version deployed in osrd, re-grabbing doesn't help, to see the bottom, you'll have to scroll.

Enregistrement.de.l.ecran.2024-12-19.142346.mp4

What did you expect to happen?

I expect the panning to allow me to pan to the bottom.

How can we reproduce it (as minimally and precisely as possible)?

  1. Go to https://openrailassociation.github.io/osrd-ui/?path=/story/manchette-with-spacetimechart-rendering--default
  2. Zoom in
  3. Pan to the bottom, while not being too slow
  4. witness

On which environments the bug occurs?

Deployed Storybook

On which browser the bug occurs?

Firefox

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions