fix(GlFilteredSearch): Keep active state on backspace on first token
This is a follow-up to gitlab-org/gitlab-ui!2705, which changed how the active state of tokens is managed on token destruction. It introduced a small usability issue where if you repeatedly backspace to clear `GlFilteredSearch` of all tokens, you could no longer enter _new_ tokens (though you could enter text), and you had to blur and then focus the component to fix it. This change makes sure that if you backspace-to-delete the first token, then the _new_ first token will be activated.
Loading
-
mentioned in commit e2a36e1a
-
mentioned in merge request gitlab!82590 (closed)
-
mentioned in merge request gitlab-org/gitlab-services/design.gitlab.com!2746 (closed)
-
mentioned in merge request status-page!477 (merged)
-
mentioned in merge request status-page!478 (closed)
-
mentioned in merge request gitlab!83216 (merged)
-
mentioned in merge request gitlab-org/gitlab-services/design.gitlab.com!2755 (merged)
-
mentioned in merge request status-page!479 (merged)
-
mentioned in merge request gitlab-docs!2518 (merged)
-
mentioned in merge request gitlab-docs!2519 (merged)
-
mentioned in merge request gitlab-docs!2520 (closed)
Please register or sign in to comment