-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
chart is scrolling to top when reach maxScaleY and try zoom in again #463
Comments
@liuxuan30 yes you right this happens on all charts. It's hard to fix this issue and the worst part is to not have time to fix him 😓 |
Isn't that the same as #437? |
@liuxuan30 Yes, you're right. I've added now scaleY handling as well. |
@liuxuan30 Actually, I've played around with it a bit more and I realized it fixes only when pinchZoom is enabled. When it is disabled, unfortunately it is still there. |
@iangmaia thanks, but why can't it be applied when pinchZoom disabled? |
I have merge that PR, and made some fixes. Now it works properly |
Steps to reproduce, using ChartsDemo:
for normal bar chart:
for horizontal bar chart:
First reach the max scale level, scroll the chart to the middle, and try zoom in again, it actually starts a scrolling to top, which at first seems zooming.
@noais I guess it's introduced in #388?
The text was updated successfully, but these errors were encountered: