Join GitHub today
[iOS] Tapping on disabled context action cells should not forward touches down #510
Description of Change
On iOS, if a context action cell is disabled, a tap gesture passes through and is caught by
The simplest solution I could think of was checking if the touch point is inside a disabled button so that the touch can be canceled.
@rmarinho I think what is happening is the PR ignores taps on disabled context actions whereas the UI test expects the context menu to close whenever a tap occurs. The behavior of the PR makes more sense to me. Let me know if the test needs to be updated. Alternatively, the PR can adjust to the test. Sounds like a design decision.
I'm not sure how Xamarin.iOS behaves, so perhaps it's better to check there first.