Skip to content

Commit 943c12e

Browse files
committed
use empty:invisible instead of empty:hidden
1 parent b2b86b9 commit 943c12e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/HeadlessUIV2Examples.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ export function ComboboxExample() {
237237
leaveTo="opacity-0"
238238
afterLeave={() => setQuery('')}
239239
>
240-
<ComboboxOptions className="mt-2 max-h-60 w-[--input-width] overflow-y-auto rounded-xl border bg-white dark:border-white/5 dark:bg-white/5 backdrop-blur p-1 empty:hidden">
240+
<ComboboxOptions className="mt-2 max-h-60 w-[--input-width] overflow-y-auto rounded-xl border bg-white dark:border-white/5 dark:bg-white/5 backdrop-blur p-1 empty:invisible">
241241
{({ option: person }) => (
242242
<ComboboxOption
243243
key={person.id}

0 commit comments

Comments
 (0)