Skip to content

EuiMutationObserver does not require children#1076

Merged
chandlerprall merged 3 commits into
elastic:masterfrom
chandlerprall:bug/1073-search-bar-children
Aug 2, 2018
Merged

EuiMutationObserver does not require children#1076
chandlerprall merged 3 commits into
elastic:masterfrom
chandlerprall:bug/1073-search-bar-children

Conversation

@chandlerprall
Copy link
Copy Markdown
Contributor

Closes #1073

EuiMutationObserver does not actually require children to be passed. In #1073 the warning was given because EuiFieldValueSelectionFilter's searchBox or content could be null, which propagates to the mutation observer as a null child.

@chandlerprall chandlerprall requested a review from cjcenizal August 2, 2018 18:30
Copy link
Copy Markdown
Contributor

@cjcenizal cjcenizal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally and this fixes the problem. Thanks for looking into this!

@chandlerprall chandlerprall merged commit 7668226 into elastic:master Aug 2, 2018
@chandlerprall chandlerprall deleted the bug/1073-search-bar-children branch August 2, 2018 19:06
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.

2 participants