SkiaShap SKCanvasView within a ScrollView canceling Touch Event #18758
Replies: 4 comments 1 reply
-
I am encountering the same issue. Do you find a solution? |
Beta Was this translation helpful? Give feedback.
-
Same issue here at Android Maui platform |
Beta Was this translation helpful? Give feedback.
-
Hi Yannikk1996 My code in the Android project (UnifiedHmiScrollView class is defined in a class library and derived from ScrollView):
Interestingly the Touchdown and some Move events arrive in the SKCanvasView but suddenly after maybe 1 second a Cancelled arrives. If I remove the ScrollView from the parent hierachy then everything works fine. Note my control hierarchy looks like this -> ScrollView Do you have any ideas? |
Beta Was this translation helpful? Give feedback.
-
Simplified the code of @Yannikk1996 a little bit:
|
Beta Was this translation helpful? Give feedback.
-
We are currently integrating a SkiaShap SKCanvasView within a maui ScrollView. However, when interacting with the Skia object by touching inside it and then moving the touch outside while still holding it down, the scroll view gets triggered, causing unintended scrolling and the skia touch event is canceled. Is there a straightforward method to prevent this behavior in such cases?
Beta Was this translation helpful? Give feedback.
All reactions