Skip to content

Commit

Permalink
fix: add missing presentation role in new-york style (#175)
Browse files Browse the repository at this point in the history
A <div role="presentation"> is missing from "new-york" but exists in "default"
  • Loading branch information
anonimusprogramus authored Nov 17, 2023
1 parent 71f5ce3 commit cbb4052
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ const forwarded = useForwardPropsEmits(props, emits)

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

0 comments on commit cbb4052

Please sign in to comment.