You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having a TextInput that gets a value or defaultValue prop and has textAlign: 'center' in its styles causes a bug that puts the cursor at the right end of the input when the input is cleared.
React Native version:
0.60.5
Steps To Reproduce
Have a TextInput that gets a value or defaultValue prop passed to it and has style textAlign: center.
Type some text into the input.
Clear the input.
The input cursor jumps to the right end of the input.
Describe what you expected to happen:
Have the cursor at the center of the input after clearing the input.
Snack, code example, screenshot, or link to a repository: