Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Space time chart panning gets stuck near the bottom #775

Open
Castavo opened this issue Dec 19, 2024 · 0 comments
Open

Space time chart panning gets stuck near the bottom #775

Castavo opened this issue Dec 19, 2024 · 0 comments

Comments

@Castavo
Copy link

Castavo commented Dec 19, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant