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

Many issues with zoom #371

Closed
dexion opened this issue Jun 26, 2020 · 3 comments
Closed

Many issues with zoom #371

dexion opened this issue Jun 26, 2020 · 3 comments
Labels

Comments

@dexion
Copy link

dexion commented Jun 26, 2020

I wrote a gist from samples which shows some problems:

  • zoom with mouse wheel won't work (Chrome 83, FF 77). No one log event in console log
  • pan event fires in console log meanwhile it was disabled in config (I was panned)
  • drag zoom works unexpectedly. We can see logs in console (I'm zooming!!! and I was zoomed!!!) but often chart doesn't redraws and still unzoomed
@jledentu
Copy link
Collaborator

Hi,

  • The zoom with mouse wheel works if you set drag: false
  • You're right, onPanComplete is called even if pan is disabled, don't know if we should remove this behavior
  • Zoom is actually happening but threshold may be too high. You're using a category scale which is probably not the best for your need. You'll get better results with a time scale

@etimberg etimberg added the bug label Apr 25, 2021
@jledentu
Copy link
Collaborator

I think we can close this issue

@kurkle
Copy link
Member

kurkle commented Apr 26, 2021

Closing per previous comment

@kurkle kurkle closed this as completed Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants