Description
A TapGestureRecognizer will not obey the IsEnabled status of its parent on iOS and Catalyst. It will register touch actions and trigger its Tapped method. Do not happen on Android. Not tested on Windows.
Steps to Reproduce
- Clone the attached repo
- Build and Run on iOS Simulator or Catalyst
The "Click me too" button (composed by a Grid, a BoxView and a Label) under the normal Button should not be clickable, but it is.
Link to public reproduction project repository
https://github.com/derlidio/TapGestureBug.git
Version with bug
8.0.3
Is this a regression from previous behavior?
Yes, this used to work in Xamarin.Forms
Last version that worked well
Unknown/Other
Affected platforms
iOS, macOS
Affected platform versions
iOS 17, macOS Sonoma 14.1.1 (23B81)
Did you find any workaround?
No workaround besides checking for the control IsEnabled state on it's Tapped method.
Relevant log output
No response
Description
A TapGestureRecognizer will not obey the IsEnabled status of its parent on iOS and Catalyst. It will register touch actions and trigger its Tapped method. Do not happen on Android. Not tested on Windows.
Steps to Reproduce
The "Click me too" button (composed by a Grid, a BoxView and a Label) under the normal Button should not be clickable, but it is.
Link to public reproduction project repository
https://github.com/derlidio/TapGestureBug.git
Version with bug
8.0.3
Is this a regression from previous behavior?
Yes, this used to work in Xamarin.Forms
Last version that worked well
Unknown/Other
Affected platforms
iOS, macOS
Affected platform versions
iOS 17, macOS Sonoma 14.1.1 (23B81)
Did you find any workaround?
No workaround besides checking for the control IsEnabled state on it's Tapped method.
Relevant log output
No response