google / google/EarlGrey

isVisibleForInteraction: fails to discover an overlay window

Open
#735 9 comments 6 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
5.7k
Forks
737
Avg merge
1d 20h
Merged PRs (30d)
5

Description

There seems to be an issue, where `isVisibleForInteraction:` returns `YES` despite there being a `UIWindow` instance that should take the touch of the user, rather than it reaching the element.

In addition to its current logic, the method should check first if there are other windows **visible and answering `hitTest:withEvent:` with a non-nil value**; if so, it should fail the interaction visibility check.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.