Skip to content

Update tappable to check if UIControl is enabled#1250

Merged
dostrander merged 1 commit into
masterfrom
dostrander/check-control-tapgesture
Dec 13, 2021
Merged

Update tappable to check if UIControl is enabled#1250
dostrander merged 1 commit into
masterfrom
dostrander/check-control-tapgesture

Conversation

@dostrander

Copy link
Copy Markdown
Contributor

In iOS 15 a control will still have tap gestures though it is disabled. This will check if it is a control and enabled while checking for the tap gestures.

This also re-adds back in #1244 with a condition of checking the control. Removing introduces a bug where KIF will say this something is not tappable when it is

Context for re-adding this check
While I do think this check needs to be changed to accurately describe whether a view is tappable and on screen, my initial implementations did not work and would break in other ways. We need to think about what it means to be tappable on screen more clearly before removing/changing this check

@dostrander dostrander force-pushed the dostrander/check-control-tapgesture branch from b43619f to fabaa36 Compare December 8, 2021 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants