Skip to content

Commit 940b4fc

Browse files
authored
Minor fix for multiline TextField placeholder on Android (#1924)
1 parent 9975617 commit 940b4fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/incubator/TextField/FloatingPlaceholder.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ const FloatingPlaceholder = ({
105105
const styles = StyleSheet.create({
106106
placeholder: {
107107
...Platform.select({
108-
android: {textAlignVertical: 'center', flex: 1}
108+
android: {textAlignVertical: 'center', flexShrink: 1}
109109
})
110110
},
111111
hidden: {

0 commit comments

Comments
 (0)