Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to tap table view cells that are under a toolbar #953

Closed
hiltonc opened this issue Mar 8, 2017 · 2 comments
Closed

Unable to tap table view cells that are under a toolbar #953

hiltonc opened this issue Mar 8, 2017 · 2 comments

Comments

@hiltonc
Copy link
Contributor

hiltonc commented Mar 8, 2017

I have a UITableViewController subclass in a UINavigationController with toolbarHidden = false. When I use KIF to tap on a cell that is currently under the toolbar, KIF doesn't scroll and it fails. I assume this is because KIF thinks the cell is already on screen, but is unable to touch it because it is obscured by the toolbar.

@justinseanmartin
Copy link
Contributor

Yea, the table view handling definitely has a couple bugs in there. In the past, I've worked around them on a case-by-case rather than reworking the KIF tableview logic. The bug is likely in here:

https://github.com/kif-framework/KIF/blob/master/Additions/UIView-KIFAdditions.m#L227

If you'd like to dig around for your particular scenario and see if there is something that can be fixed, that would be great.

@hiltonc
Copy link
Contributor Author

hiltonc commented Mar 10, 2017

The problem was elsewhere, but you succeeded in getting me to solving it myself 👍

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

No branches or pull requests

2 participants