Skip to content

fix(Combobox): keep filter after blur when input has search term - #1169

Open
Steve0x2a wants to merge 1 commit into
jquense:masterfrom
Steve0x2a:fix/combobox-blur-filter
Open

fix(Combobox): keep filter after blur when input has search term#1169
Steve0x2a wants to merge 1 commit into
jquense:masterfrom
Steve0x2a:fix/combobox-blur-filter

Conversation

@Steve0x2a

Copy link
Copy Markdown

Reported by @patorelovsky.

Typing a non-matching Combobox filter (for example asdf) correctly shows "The filter returned no results". Closing with the caret keeps that filter, but blurring (click outside) cleared shouldFilter while leaving the input text in place. Reopening then showed the full list.

On blur, only clear shouldFilter when the input has no search term, so leftover text keeps the filtered list.

Fixes #1164

Signed-off-by: Yi Zhan <stevesough@gmail.com>
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.

Combobox: Filter resets on blur → reopening ignores previous input

1 participant