Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autoscroll half of TextInput when its padding is set to '0' #23067

Closed
shaktals opened this issue Jan 18, 2019 · 1 comment
Closed

Autoscroll half of TextInput when its padding is set to '0' #23067

shaktals opened this issue Jan 18, 2019 · 1 comment
Labels
Bug Component: TextInput Related to the TextInput component. Platform: Linux Building on Linux. Resolution: Locked This issue was locked by the bot.

Comments

@shaktals
Copy link

shaktals commented Jan 18, 2019

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.

20190118_141028

Desired behavior: autoscroll should roll the input field completely into view.

@dulmandakh
Copy link
Contributor

Hello there 👋 this issue doesn't have a repro (which means, a react-native init-ed project with the minimal changes that leads to creating the same issue you are reporting). Unfortunately, I have no way of helping you in a meaningful way – there is no easy way for me to recreate the situation and check that the issue reported is still there when changing the code.

Because of this, we are going to close this issue - but if a repro is shared, we are happy to reopen it 🤗

@facebook facebook locked as resolved and limited conversation to collaborators Mar 19, 2020
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Mar 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Component: TextInput Related to the TextInput component. Platform: Linux Building on Linux. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

4 participants