Skip to content

Commit e659ff1

Browse files
committed
chore: clean up
1 parent 1c7a405 commit e659ff1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/BaseSelect/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ const BaseSelect = React.forwardRef<BaseSelectRef, BaseSelectProps>((props, ref)
563563
}
564564
};
565565

566-
const onRootBlur: React.FocusEventHandler<HTMLElement> = () => {
566+
const onRootBlur = () => {
567567
macroTask(() => {
568568
if (!isInside(getSelectElements(), document.activeElement as HTMLElement)) {
569569
triggerOpen(false);
@@ -586,7 +586,7 @@ const BaseSelect = React.forwardRef<BaseSelectRef, BaseSelectProps>((props, ref)
586586
}
587587
}
588588

589-
onRootBlur(event);
589+
onRootBlur();
590590

591591
if (!disabled) {
592592
onBlur?.(event);

0 commit comments

Comments
 (0)