Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
When using Tapped, DoubleTapped, PointerPressed,... events on an Image, the event is not triggered on Desktop or Desktop WSL. However, the same events are working as expected on other controls such as Border for example.
Expected behavior
The Tapped, DoubleTapped, PointerPressed,... events should be triggered when interacting with an Image, similar to how they work with other UI elements like Border or to how they work for all the other platforms.
How to reproduce it (as minimally and precisely as possible)
Current behavior
When using Tapped, DoubleTapped, PointerPressed,... events on an
Image
, the event is not triggered on Desktop or Desktop WSL. However, the same events are working as expected on other controls such asBorder
for example.Expected behavior
The Tapped, DoubleTapped, PointerPressed,... events should be triggered when interacting with an
Image
, similar to how they work with other UI elements likeBorder
or to how they work for all the other platforms.How to reproduce it (as minimally and precisely as possible)
Sample App to Repro: TappedEventIssue.zip
Create a new project with the following XAML and C# code:
Workaround
None
Works on UWP/WinUI
Yes
Environment
Uno.UI / Uno.UI.WebAssembly / Uno.UI.Skia
NuGet package version(s)
"Uno.Sdk": "5.4.10"
Affected platforms
Skia
IDE
Visual Studio 2022
IDE version
Version 17.11.4