Skip to content

Fix EuiSearchBar filter highlighting#1824

Merged
bevacqua merged 2 commits into
elastic:masterfrom
bevacqua:fix-search-bar-filter-highlighting
Apr 11, 2019
Merged

Fix EuiSearchBar filter highlighting#1824
bevacqua merged 2 commits into
elastic:masterfrom
bevacqua:fix-search-bar-filter-highlighting

Conversation

@bevacqua
Copy link
Copy Markdown
Contributor

Fixes #1815

@bevacqua bevacqua requested a review from chandlerprall April 11, 2019 16:02
options: null,
error: null
error: null,
options: preloadedOptions
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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