-
Notifications
You must be signed in to change notification settings - Fork 1.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
Putting a GraphicsView inside a ScrollView prevents DragInteraction events on Android #7483
Comments
not repro on Android emulator with vs main build(32525.350.main) |
Adding a test project that demonstrates the lack of multiple DragInteractions on Android. |
We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process. |
Verified this issue with Visual Studio Enterprise 17.7.0 Preview 6.0. Can repro on android platform with sample project. |
We have a similar issue when using a GraphicsView within a syncfusion listview, it prevents the swipe left/right feature working on Android. Trying alternative list controls also give the same result. On Android the swipe events do not appear to be propagated to the container and instead consumed within the GraphicsView |
Confirm presence of this issue in current MAUI version (8.0.21). On Android platform (at least) GraphicsView embedded in ScrollView responds correctly to StartInteraction and EndInteraction events but not to DragInteraction. Moreover, using DragInteraction causes the app to crash, unless run in debug mode. This is an important gap affecting user interaction with GraphicsView that would be worth fixing. |
I'm also facing this issue on the latest 8.0.5 RC5 release, Putting GraphicsView inside ScrollView stops the Drag event only if you're moving it on y-axis but when dragging on x-axis it works fine. |
Description
I'm trying to put a series of GraphicsView into a scrollable container, whether a plain ScrollView, ListView, or CollectionsView. I've tried all, but even with a ScrollView whose
Orientation
is set toNeither
, I cannot receive any DragInteraction events from the GraphicsView. The StartInteraction event works and occasionally I will get one DragInteraction event, but no more.What seems to happen is that the ScrollView or ListView just continues to scroll. It's handling all the events and not passing them down.
(On a side-note, there is no option in the GraphicsView Interaction events to implicitly handle or pass through the touch events either. This would be nice to have rather than having to subscribe/unsubscribe.)
Steps to Reproduce
Version with bug
6.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android emulator pixel 5 (standard)
Did you find any workaround?
Remove the ScrollViewer and it works... but this is hardly a workaround when you need a large list of images.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: