Skip to content

Commit aacb7e9

Browse files
committed
fix(CommandPalette): put back searchable on v-show to input ref always exists
1 parent 3ded731 commit aacb7e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/components/navigation/CommandPalette.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
@update:model-value="onSelect"
99
>
1010
<div :class="ui.wrapper">
11-
<div v-if="searchable" :class="ui.input.wrapper">
11+
<div v-show="searchable" :class="ui.input.wrapper">
1212
<UIcon v-if="icon" :name="icon" :class="[ui.input.icon.base, ui.input.icon.size]" aria-hidden="true" />
1313
<ComboboxInput
1414
ref="comboboxInput"

0 commit comments

Comments
 (0)