Skip to content

Commit

Permalink
fix(ComboBox): flush option changes later (#883)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsmnbom committed Apr 29, 2024
1 parent 289f522 commit a40dd4f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/radix-vue/src/Combobox/ComboboxRoot.vue
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,10 @@ const options = ref<T[]>([]) as Ref<T[]>
watch(() => itemMapSize.value, () => {
options.value = getItems().map(i => i.value)
}, { immediate: true })
}, {
immediate: true,
flush: 'post',
})
const filteredOptions = computed(() => {
if (isUserInputted.value) {
Expand Down

0 comments on commit a40dd4f

Please sign in to comment.