Repository navigation
Parent doesn't listen the gestures from its child #21278
Unanswered
ShaliniSF79
asked this question in
Ideas
Replies: 4 comments
|
@ShaliniSF79 do you want both gesture recognizers to fire when you tap the label? |
0 replies
Yes @PureWeen, I'm expecting, when I tap the label, both grid and label gestures have to be fired. |
0 replies
|
Currently this behavior isn't supported. I've moved it to an idea to see if it's something we'd want to add. You could just fire on the grid and use the coordinates to see if it's clicking the label |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Description
Issue:
I have a simple sample in .NET MAUI using Grid and Label controls. I've added tap gestures to both controls to listen for tap events. Currently, when I tap the grid control, its tap event is invoked, and the same for the label. For my requirement, I need to trigger the grid's(Parent) tap event when tapping the label's(Child) tap gesture. This doesn't work by default. It seems like behaviour. Is there a way to achieve this?
Steps to Reproduce
Tap mebutton.Link to public reproduction project repository
https://github.com/ShaliniSF79/MauiDemo
Version with bug
8.0.7 SR2
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
Android, Windows
Affected platform versions
No response
Did you find any workaround?
No
Relevant log output
No response
All reactions