fix: add missing presentation role in new-york style (#175)

A <div role="presentation"> is missing from "new-york" but exists in "default"
This commit is contained in:
Anonimus Programus 2023-11-17 21:09:19 +07:00 committed by GitHub
parent 71f5ce3c04
commit cbb40522dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,8 @@ const forwarded = useForwardPropsEmits(props, emits)
<template> <template>
<ComboboxContent v-bind="forwarded" :class="cn('max-h-[300px] overflow-y-auto overflow-x-hidden', $attrs.class ?? '')"> <ComboboxContent v-bind="forwarded" :class="cn('max-h-[300px] overflow-y-auto overflow-x-hidden', $attrs.class ?? '')">
<slot /> <div role="presentation">
<slot />
</div>
</ComboboxContent> </ComboboxContent>
</template> </template>