fix for autofill covering border (#4573)

This commit is contained in:
Samuel Newman
2024-06-19 23:42:12 +01:00
committed by GitHub
parent 73fc0094dd
commit 5c31859f7b
+7
View File
@@ -196,6 +196,13 @@ export function createInput(Component: typeof TextInput) {
textAlignVertical: rest.multiline ? 'top' : undefined,
minHeight: rest.multiline ? 80 : undefined,
},
// fix for autofill styles covering border
web({
paddingTop: 12,
paddingBottom: 12,
marginTop: 2,
marginBottom: 2,
}),
android({
paddingBottom: 16,
}),