Update CommandList.vue

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

View File

@ -10,7 +10,7 @@ const emitsAsProps = useEmitAsProps(emits)
</script>
<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 ?? '')">
<div role="presentation">
<slot />
</div>