Skip to content

[EuiSearchBar] Handle 0 count after manual query manipulation#4977

Merged
thompsongl merged 3 commits intoelastic:masterfrom
thompsongl:4976-filters
Jul 26, 2021
Merged

[EuiSearchBar] Handle 0 count after manual query manipulation#4977
thompsongl merged 3 commits intoelastic:masterfrom
thompsongl:4976-filters

Conversation

@thompsongl
Copy link
Copy Markdown
Contributor

@thompsongl thompsongl commented Jul 26, 2021

Summary

Closes #4976 by marking a filter as inactive when the number of active filters drops to 0.
See repro steps in the issue.

Checklist

- [ ] Check against all themes for compatibility in both light and dark modes
- [ ] Checked in mobile
- [ ] Checked in Chrome, Safari, Edge, and Firefox
- [ ] Props have proper autodocs and playground toggles
- [ ] Added documentation
- [ ] Checked Code Sandbox works for the any docs examples
- [ ] Added or updated jest tests
- [ ] Checked for breaking changes and labeled appropriately
- [ ] Checked for accessibility including keyboard-only and screenreader modes

  • A changelog entry exists and is marked appropriately

@kibanamachine
Copy link
Copy Markdown

Preview documentation changes for this PR: https://eui.elastic.co/pr_4977/

Copy link
Copy Markdown
Contributor

@myasonik myasonik left a comment

Choose a reason for hiding this comment

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

LGTM!

Tested in FF and code review

@thompsongl thompsongl merged commit 8c9380b into elastic:master Jul 26, 2021
cchaos pushed a commit to myasonik/eui that referenced this pull request Jul 27, 2021
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.

[EuiInMemoryTable] Filters get weird when query is modified in search bar

3 participants