mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
fix(toolbar-search): input should expand if value is programmatically set (#956)
Fixes #673
This commit is contained in:
parent
001d62c001
commit
9698625b15
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@
|
||||||
ref.focus();
|
ref.focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$: expanded = !!value.length;
|
||||||
$: classes = [
|
$: classes = [
|
||||||
expanded && "bx--toolbar-search-container-active",
|
expanded && "bx--toolbar-search-container-active",
|
||||||
persistent
|
persistent
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue