CommunityToolkit / Maui

The .NET MAUI Community Toolkit is a community-created library that contains .NET MAUI Extensions, Advanced UI/UX Controls, and Behaviors to help make your life as a .NET MAUI developer easier
https://learn.microsoft.com/dotnet/communitytoolkit/maui
MIT License
2.09k stars 337 forks source link

[BUG] [iOS] [TouchBehavior] Parent gets touch event when child is tapped #1831

Open MichaelFrenkel opened 1 month ago

MichaelFrenkel commented 1 month ago

Is there an existing issue for this?

Did you read the "Reporting a bug" section on Contributing file?

Current Behavior

Parent also gets a touch event when nested element is tappeda tapped

Expected Behavior

parent shouldn't get touch event

Steps To Reproduce

  1. Touch nested element (red square)

Link to public reproduction project repository

https://github.com/MichaelFrenkel/TouchBehavior-repro

Environment

- .NET MAUI CommunityToolkit: 8.0.1
- OS: iOS
- .NET MAUI: 8

Anything else?

No response

maexsp commented 2 weeks ago

Run into same issue.