react-native-paper icon indicating copy to clipboard operation
react-native-paper copied to clipboard

Fix "TextInput multiline text does not appear centered if only one line" #3752

Open AmrouKourchid opened this issue 1 year ago • 4 comments

Summary:

Fixes the Text input Outline Issue, if you pass Multiline as a prop, the first line will be adjusted to the top instead of the center.

Test plan:

In src/components/TextInput/TextInputOutlined.tsx , changes textAlignVertical: multiline ? 'top' : 'center' to textAlignVertical: 'center'

Screenshots and Issues fixed:

https://imgur.com/a/kK0jffs Fixes #3752 Fixes #3786

AmrouKourchid avatar Mar 30 '23 13:03 AmrouKourchid

Hey @AmrouKourchid, thank you for your pull request 🤗. The documentation from this branch can be viewed here.

callstack-bot avatar Mar 30 '23 13:03 callstack-bot

hello @lukewalczak can you please review this ?

AmrouKourchid avatar Apr 04 '23 20:04 AmrouKourchid

@AmrouKourchid any idea when this will be merged for production?

paperskyline avatar Jul 04 '23 08:07 paperskyline

Isn't the textAlignVertical prop only for android?

nathantew14 avatar Oct 24 '23 01:10 nathantew14