[Bug] TapGestureRecognizer not working for Horizontal- and VerticalStacklayout #3989
Labels
area-xaml
XAML, CSS, Triggers, Behaviors
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Projects
Description
When using a
TapGestureRecognizer
onHorizontal
- orVerticalStackLayout
, the event handler for the tap never gets called, so the tap/click is not getting recognized. A repro can be found here.Steps to Reproduce
Grid
inMainPage.xaml
withVerticalStackLayout
Label
namedCounterLabel
to theVerticalStackLayout
HorizontalStackLayout
to theVerticalStackLayout
TapGestureRecognizer
to theHorizontalStackLayout
and setTapped
toOnCounterClicked
Label
with some text to theHorizontalStackLayout
Label
/HorizontalStackLayout
Version with bug
Preview 11
Last version that worked well
Unknown/Other
Affected platforms
iOS, macOS
Affected platform versions
iOS 15.2, macOS Monterey 12.1
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: