diff --git a/src/components/Dropdown/Dropdown.tsx b/src/components/Dropdown/Dropdown.tsx index a1de5df3..5305a932 100644 --- a/src/components/Dropdown/Dropdown.tsx +++ b/src/components/Dropdown/Dropdown.tsx @@ -110,6 +110,7 @@ export const Dropdown: React.FC = ({ // Functions to handle events // --- const handleOpenMenu = (e: React.MouseEvent | React.KeyboardEvent) => { + e.stopPropagation(); const dropdownWidth = (e.currentTarget as HTMLElement).offsetWidth; setMinWith(`${dropdownWidth < menuMinWidth ? menuMinWidth : dropdownWidth}px`); setAnchorEl(e.currentTarget);