Small tweaks

This commit is contained in:
Gregory Schier committed 2023-04-09 15:32:13 -07:00
1 parent 4163bebe3b
commit 4dddfc0cc5
3 files changed
+6 -31

No files matched your search

+2
View File
@@ -257,6 +257,8 @@ const Menu = forwardRef<Omit<DropdownRef, 'open' | 'isOpen'>, MenuProps>(functio
[items],
);
if (items.length === 0) return null;
return (
<Portal name="dropdown">
<FocusTrap>