Skip to content

Commit 2463579

Browse files
authored
fix: 🐛 Remove outline on web from TextInputFlat component (#4305)
1 parent b59d784 commit 2463579

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/TextInput/TextInputFlat.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ const TextInputFlat = ({
428428
MIN_WIDTH
429429
),
430430
},
431-
Platform.OS === 'web' && { outline: 'none' },
431+
Platform.OS === 'web' ? { outline: 'none' } : undefined,
432432
adornmentStyleAdjustmentForNativeInput,
433433
contentStyle,
434434
],

src/components/TextInput/TextInputOutlined.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ const TextInputOutlined = ({
416416
MIN_WIDTH
417417
),
418418
},
419-
Platform.OS === 'web' && { outline: 'none' },
419+
Platform.OS === 'web' ? { outline: 'none' } : undefined,
420420
adornmentStyleAdjustmentForNativeInput,
421421
contentStyle,
422422
],

0 commit comments

Comments
 (0)