Skip to content

Commit c3e086c

Browse files
author
小豪
committed
feat: do not add focus style when clicking
1 parent b727013 commit c3e086c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ const InternalSegmentedOption: React.FC<{
106106
if (disabled) {
107107
return;
108108
}
109+
// Do not add focus style when clicking
110+
onBlur();
109111
onChange(event, value);
110112
};
111113

0 commit comments

Comments
 (0)