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

Incorrect crosshair position on scrolling by dragging by mouse #987

Closed
timocov opened this issue Jan 24, 2022 · 0 comments · Fixed by #989
Closed

Incorrect crosshair position on scrolling by dragging by mouse #987

timocov opened this issue Jan 24, 2022 · 0 comments · Fixed by #989
Assignees
Labels
bug Unexpected problem or unintended behavior.
Milestone

Comments

@timocov
Copy link
Contributor

timocov commented Jan 24, 2022

Lightweight Charts Version: latest dev build from master branch for v3.8

Was broken in #972.

Steps/code to reproduce:

  1. Open any chart on desktop
  2. Start scrolling by dragging the chart

And the same steps on an ios/ipados device when you're using a connected mouse.

Actual behavior:

A crosshair stays at the same position as it was when you started to drag.

scroll-bug

Expected behavior:

A crosshair should be at your mouse position.

scroll-no-bug

Screenshots:

@timocov timocov added the bug Unexpected problem or unintended behavior. label Jan 24, 2022
@timocov timocov added this to the 3.8 milestone Jan 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected problem or unintended behavior.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants