Skip to content

Commit 3bb025e

Browse files
authored
fix(fuselage): Multiselect show (#785)
1 parent a849d66 commit 3bb025e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/fuselage/src/components/MultiSelect/MultiSelect.tsx

+1-4
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,9 @@ export const MultiSelect = forwardRef(
143143
};
144144

145145
const handleClick = useMutableCallback(() => {
146-
if (innerRef.current?.classList.contains('focus-visible')) {
147-
removeFocusClass();
146+
if (visible === AnimatedVisibility.VISIBLE) {
148147
return hide();
149148
}
150-
151-
innerRef.current?.classList.add('focus-visible');
152149
innerRef.current?.focus();
153150
return show();
154151
});

0 commit comments

Comments
 (0)