maui
maui copied to clipboard
[Android] TapGestureRecognizer on a parent View is not working if a child View has TooltipProperties.Text set and tapping on it
Description
On Android TapGestureRecognizer on a parent View is not working if a child View has TooltipProperties.Text set and tap is performed on the child View.
The Tap command is executed when tapping on the Blue BoxView which does not have TooltipProperties.Text set. The Tap command is not executed when tapping on the Red BoxView which has TooltipProperties.Text set.
Steps to Reproduce
Steps to reproduce:
- Run the project.
- The on the Red BoxView.
Expected Behavior The CountCommand execute method should be called.
Actual Behavior The CountCommand execute method is not called.
Link to public reproduction project repository
https://github.com/telerik/ms-samples/tree/main/Maui/TooltipPreventsParentGesture_Android
Version with bug
8.0.3 GA
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response
Verified on VS 17.10.0 Preview 2.0(8.0.20). Repro on Android 14.0-API34, not repro on Windows 11, iOS 17.2 and MacCatalyst with below Project: TooltipPreventsParentGesture_Android.zip
/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:
- [Android] TapGestureRecognizer doesn't fire (#5825), similarity score: 0.78
- Adding TapGestureRecognizer to Child control restricts touch for Parent control in Android platform (#21180), similarity score: 0.76
- The TapGestureRecognizer does not function properly when the view is clipped. (#22164), similarity score: 0.75
- TapGestureRecognizer doesn't fire Tapped event on child controls (#8121), similarity score: 0.74
Closed similar issues:
- [Android] Tap through grid (#21695), similarity score: 0.73
Note: You can give me feedback by thumbs upping or thumbs downing this comment.