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

Fix EuiSearchBar filter highlighting #1824

Merged
merged 2 commits into from
Apr 11, 2019

Conversation

bevacqua
Copy link
Contributor

Fixes #1815

options: null,
error: null
error: null,
options: preloadedOptions
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This bit here means we don't have to wait for users to click around on the filter bar to highlight options on first load

};
}

closePopover() {
this.setState({ popoverOpen: false, options: null });
Copy link
Contributor Author

Choose a reason for hiding this comment

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

As discussed on Zoom with Chandler, we're already null-ing this everywhere, so it's not necessary to do it also when the popover gets closed.

Copy link
Contributor

@chandlerprall chandlerprall left a comment

Choose a reason for hiding this comment

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

Changes LGTM; pulled and tested docs locally

@bevacqua bevacqua merged commit c5791ab into elastic:master Apr 11, 2019
@bevacqua bevacqua deleted the fix-search-bar-filter-highlighting branch April 11, 2019 16:28
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