Update CommandList.vue

This commit is contained in:
Mael 2023-09-24 22:35:22 +02:00 committed by GitHub
parent b8cb5e2ce3
commit d7d17a954b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ const emitsAsProps = useEmitAsProps(emits)
</script> </script>
<template> <template>
<ComboboxContent v-bind="{ ...props, ...emitsAsProps }" :class="cn('max-h-[300px] overflow-y-auto overflow-x-hidden', $attrs.class ?? '')"> <ComboboxContent v-bind="{ ...props, ...emitsAsProps }" :avoid-collisions="true" :class="cn('max-h-[300px] overflow-y-auto overflow-x-hidden', $attrs.class ?? '')">
<slot /> <slot />
</ComboboxContent> </ComboboxContent>
</template> </template>