Skip to content

Commit

Permalink
Fix Bug 72058 - Mobile. Drop-down: fixed toggleDropDown event
Browse files Browse the repository at this point in the history
  • Loading branch information
gopienkonikita committed Dec 20, 2024
1 parent 6f980ed commit 80423e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/shared/components/drop-down/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ const DropDown = (props: DropDownProps) => {
usePortalBackdrop = false,
} = props;

const toggleDropDown = () => {
const toggleDropDown = (e: React.MouseEvent) => {
clickOutsideAction?.({} as Event, !open);
e.stopPropagation();
};

const eventTypesProp = forceCloseClickOutside
Expand Down

0 comments on commit 80423e5

Please sign in to comment.