diff --git a/src/index.tsx b/src/index.tsx index a511891..01c5aba 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -114,6 +114,7 @@ export const Popup = forwardRef( const togglePopup = (event?: React.SyntheticEvent) => { event?.stopPropagation(); + event?.preventDefault(); if (!isOpen) openPopup(event); else closePopup(event); };