Skip to content

Commit 0ca69af

Browse files
committed
chore: of it
1 parent a8ca6ec commit 0ca69af

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/BaseSelect/index.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -679,10 +679,12 @@ const BaseSelect = React.forwardRef<BaseSelectRef, BaseSelectProps>((props, ref)
679679
);
680680

681681
const onInternalMouseDown: React.MouseEventHandler<HTMLDivElement> = (event, ...restArgs) => {
682-
// const { target } = event;
683-
// const popupElement: HTMLDivElement = triggerRef.current?.getPopupElement();
682+
const { target } = event;
683+
const popupElement: HTMLDivElement = triggerRef.current?.getPopupElement();
684684

685-
// // We should give focus back to selector if clicked item is not focusable
685+
console.log('???');
686+
687+
// We should give focus back to selector if clicked item is not focusable
686688
// if (popupElement?.contains(target as HTMLElement)) {
687689
// const timeoutId = setTimeout(() => {
688690
// const index = activeTimeoutIds.indexOf(timeoutId);

0 commit comments

Comments
 (0)