TextInput inside ScrollView with textAlign center not scrolling #34793
Labels
Component: ScrollView
Component: TextInput
Related to the TextInput component.
Needs: Triage 🔍
Stale
There has been a lack of activity on this issue and it may be closed soon.
Description
I have many TextInput inside a ScrollView. When text is aligned left, it's working but if it is centered, it does not scroll when scrolling hover the input. If I set multiline it works but it's not the solution.
If in the example you try to scroll inside a text input area it won't work but if you remove textAlign: 'center' from input style, it works when scrolling inside an input.
Version
0.67.4
Output of
npx react-native info
Steps to reproduce
Snack, code example, screenshot, or link to a repository
https://snack.expo.dev/@yamifr07/centered-textinput-workaround?platform=android
The text was updated successfully, but these errors were encountered: