maui
maui copied to clipboard
The TapGestureRecognizer does not function properly when the view is clipped.
Description
The TapGestureRecognizer.Tapped
event does not function properly when the view is clipped. The event listener for the clipped view was triggered when tapping on an unclipped other view area.
Steps to Reproduce
- Run the provided sample.
- Tap on the left end of
View 1
(X position within 50). - Tap on the right end of
View 1
(X position above 50).
https://github.com/dotnet/maui/assets/93904422/09160e7e-2bab-43f3-b699-1478894fca27
Link to public reproduction project repository
https://github.com/Tamilarasan-Paranthaman/TapGestureRecognizer-Issue
Version with bug
8.0.7 SR2
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android, Windows, I was not able test on other platforms
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response
/similarissues
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Open similar issues:
- TapGestureRecognizer.Tapped event not triggered on certain controls (#19056), similarity score: 0.80
- [regression/7.0.49] TapGestureRecognizer Tapped events not worked in Windows Platform (#15810), similarity score: 0.77
- TapGestureRecognizer doesn't fire Tapped event on child controls (#8121), similarity score: 0.77
- [Android] TapGestureRecognizer doesn't fire (#5825), similarity score: 0.76
Closed similar issues:
- iOS - Incorrect Coordinates Returned by TapGestureRecognizer (#19327), similarity score: 0.76
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Verified this issue with Visual Studio 17.10.0 Preview 6 (8.0.21 &8.0.6).I can repro this issue.