diff --git a/src/Dropdown.tsx b/src/Dropdown.tsx index 8853529..8a9f06b 100644 --- a/src/Dropdown.tsx +++ b/src/Dropdown.tsx @@ -90,7 +90,7 @@ function Dropdown(props: DropdownProps, ref) { const onClick = (e) => { const { onOverlayClick } = props; - setTriggerVisible(false); + onVisibleChange(false); if (onOverlayClick) { onOverlayClick(e);