Skip to content

Commit

Permalink
fix(fuselage): Multiselect show (#785)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo authored Jul 21, 2022
1 parent a849d66 commit 3bb025e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/fuselage/src/components/MultiSelect/MultiSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,9 @@ export const MultiSelect = forwardRef(
};

const handleClick = useMutableCallback(() => {
if (innerRef.current?.classList.contains('focus-visible')) {
removeFocusClass();
if (visible === AnimatedVisibility.VISIBLE) {
return hide();
}

innerRef.current?.classList.add('focus-visible');
innerRef.current?.focus();
return show();
});
Expand Down

0 comments on commit 3bb025e

Please sign in to comment.