Open nm4568 opened 7 months ago
We have this problem in Mapsui.
I would also be interested to hear about the roadmap of SkiaSharp touch. It seems to me a difficult problem to deal with touch on all the platforms, and there were some changes in the api in the past. Perhaps we should use the touch of the platform itself instead of SkiaSharp. Any advise is welcome.
Heya! Just realized that your test needs to set e.Handled = true;
at the end of the OnTouch handler. If you update the sample and it behaves correctly we have to investigate Mapsui again.
Description
CanvasView.Touch is only fired on Pressed on iOS
Code
Minimal Reproducible Example - https://github.com/nm4568/SkiaSharpSamples
But, you can also share a short block of code here:
You can also share some XAML:
Expected Behavior
Events with all other ActionTypes should be fired.
Actual Behavior
CanvasView.Touch is only firing one ActionType on iOS - ActionType.Pressed.
Version of SkiaSharp
2.88.3 (Current)
Last Known Good Version of SkiaSharp
Other (Please indicate in the description)
IDE / Editor
Visual Studio (Windows)
Platform / Operating System
iOS
Platform / Operating System Version
iOS 17.2
Devices
iOS Simulator - iPhone 14 Pro Max
Relevant Screenshots
No response
Relevant Log Output
No response
Code of Conduct