You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.
I'm having an issue where SelectionTrigger.tapAndDrag does not work when the chart is in a PageView because the PageView is a handling the drag. I'm fairly new to Flutter so maybe there's a standard way to fix this, but I've tried a few things such as surrounding the chart with AbsorbPointer but it doesn't help.
Here's a sample application demonstrating the issue:
I know it's been a while but if you use NeverScrollablePhysics() on the parent page view it will stop it from scrolling while you're doing another action. As far as prioritizing the chart swipe action over the page view swipe action, I don't know how to do that. We generally do not design apps to have two swipe actions in the same direction.
I had a similar issue and used PageScrollPhysics() it allowed me to scroll the page and to capture the callback from the chart.
Did you mean you prioritize the horizontal chart scroll over the vertical pageview scroll? I'm dealing with this issue... Could you explain me how you solved that problem?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm having an issue where
SelectionTrigger.tapAndDrag
does not work when the chart is in a PageView because the PageView is a handling the drag. I'm fairly new to Flutter so maybe there's a standard way to fix this, but I've tried a few things such as surrounding the chart with AbsorbPointer but it doesn't help.Here's a sample application demonstrating the issue:
The text was updated successfully, but these errors were encountered: