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

Find non-children #143

Merged
merged 2 commits into from Jun 13, 2019
Merged

Find non-children #143

merged 2 commits into from Jun 13, 2019

Conversation

MSGhero
Copy link
Member

@MSGhero MSGhero commented Jun 8, 2017

Added matchesSearch() which returns if this component matches the search criteria. Previously, you could only check children of components and not the components themselves.

Added this to TabView so inactive views also get checked, not just their children, since inactive views aren't children of anything, to my knowledge.

Also seemed like findAncestor() did not climb up the ancestry tree and would cause an infinite loop if used?

Maybe fixed findAncestor?
@ianharrigan ianharrigan mentioned this pull request Nov 21, 2018
@ianharrigan ianharrigan merged commit 3753410 into master Jun 13, 2019
@ianharrigan ianharrigan deleted the search-for-self branch June 13, 2019 06:44
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.

None yet

2 participants