diff --git a/src/components/Menu/Menu.tsx b/src/components/Menu/Menu.tsx index 7495d5d5..21a9f330 100644 --- a/src/components/Menu/Menu.tsx +++ b/src/components/Menu/Menu.tsx @@ -119,7 +119,17 @@ export const Menu: FC = ({ {trigger} - + { + // https://www.radix-ui.com/primitives/docs/components/dropdown-menu#content => onCloseAutoFocus + // Prevent the default behavior of focusing the trigger when the menu closes + event.preventDefault(); + }} + > {children}