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

Scrolling in a scroll view is blocked if the chart in the scroll view is not fully zoomed out. #1023

Closed
aastein opened this issue May 12, 2016 · 1 comment

Comments

@aastein
Copy link

aastein commented May 12, 2016

Case 1 (expected) : View loads with the chart fully zoomed out, all data is displayed. In this case it is possible to scroll in any direction in the scroll view if the gesture was initiated over the chart.

Case 2 (unexpected) : View loads with the chart fully zoomed out, all data is displayed. User pinch-zooms so only the x-axis is re-scaled. The y-axis remains "fully zoomed out". In this case it is not possible to scroll in any direction in the scroll view if the gesture was initiated over the chart. I would expect vertical scrolls in the scroll view to work, because with one finger on the chart, it is not possible to navigate up or down.

@liuxuan30
Copy link
Member

liuxuan30 commented May 12, 2016

I remember it's intended to be blocked in pan gesture recognizer. You can take a look at panGestureRecognized, and perhaps provide your own so you can scroll.

@aastein aastein closed this as completed May 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants