fix(toolbar-search): input should expand if value is programmatically set (#956)

Fixes #673
This commit is contained in:
Eric Liu 2021-12-30 13:00:03 -08:00 committed by GitHub
commit 9698625b15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,6 +35,7 @@
ref.focus();
}
$: expanded = !!value.length;
$: classes = [
expanded && "bx--toolbar-search-container-active",
persistent