Autoscroll half of TextInput when its padding is set to '0' #23067
Labels
Bug
Component: TextInput
Related to the TextInput component.
Platform: Linux
Building on Linux.
Resolution: Locked
This issue was locked by the bot.
Environment
React Native Environment Info:
System:
OS: Linux 4.15 Linux Mint 19 (Tara)
CPU: (4) x64 Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz
Memory: 464.16 MB / 7.70 GB
Shell: 4.4.19 - /bin/bash
Binaries:
Node: 11.4.0 - ~/.nvm/versions/node/v11.4.0/bin/node
npm: 6.5.0 - ~/.nvm/versions/node/v11.4.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
npmPackages:
react: 16.6.1 => 16.6.1
react-native: 0.57.7 => 0.57.7
npmGlobalPackages:
react-native-cli: 2.0.1
react-native-linear-gradient: 2.5.3
Description
When TextInput padding is set to '0' (zero), autoscroll will align exactly with the bottom of the text, covering part of the input field. This behavior happens in ScrollView and KeyboardAvoidingView too.
Desired behavior: autoscroll should roll the input field completely into view.
The text was updated successfully, but these errors were encountered: