Skip to content

Commit a372b31

Browse files
committed
fix(text-area): 🎨 fix textareas alignement in android
1 parent 41aa48b commit a372b31

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/components/text-area/TextArea.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ const RNTextArea: React.FC<Partial<TextAreaProps>> = forwardRef<
253253
},
254254
})
255255
: {},
256+
Platform.OS === "android" ? textAreaTheme.android : {},
256257
styleAdapter(textInputStyle),
257258
]}
258259
multiline={true}

src/theme/defaultTheme/textArea.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,4 +145,7 @@ export const textArea = {
145145
},
146146
},
147147
},
148+
android: {
149+
textAlignVertical: "top",
150+
},
148151
};

0 commit comments

Comments
 (0)