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

[TextInput] paddingVertical not working in multiline mode #21720

Closed
3 tasks done
magrinj opened this issue Oct 11, 2018 · 7 comments
Closed
3 tasks done

[TextInput] paddingVertical not working in multiline mode #21720

magrinj opened this issue Oct 11, 2018 · 7 comments
Labels
Bug Component: TextInput Related to the TextInput component. Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@magrinj
Copy link
Contributor

magrinj commented Oct 11, 2018

Environment

React Native Environment Info:
System:
OS: macOS 10.14
CPU: x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
Memory: 164.91 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.10.0 - /usr/local/bin/node
Yarn: 1.9.4 - /usr/local/bin/yarn
npm: 6.4.1 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.0, macOS 10.14, tvOS 12.0, watchOS 5.0
IDEs:
Android Studio: 3.1 AI-173.4907809
Xcode: 10.0/10A255 - /usr/bin/xcodebuild
npmPackages:
react: 16.5.0 => 16.5.0
react-native: 0.57.2 => 0.57.2

Description

Just create a TextInput and apply a paddingVertical in style, in single line mode everything work as expected, but in multiline mode the padding doesn't works with the key paddingVertical, if I manually specify paddingTop and paddingBottom that seems to fix the problem.

@react-native-bot react-native-bot added Component: TextInput Related to the TextInput component. 🔶Components labels Oct 11, 2018
@react-native-bot
Copy link
Collaborator

It looks like you are using an older version of React Native. Please update to the latest release, v0.57 and verify if the issue still exists.

The ":rewind:Old Version" label will be removed automatically once you edit your original post with the results of running react-native info on a project using the latest release.

@stale
Copy link

stale bot commented Jan 16, 2019

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Jan 16, 2019
@stale stale bot removed the Stale There has been a lack of activity on this issue and it may be closed soon. label Jan 24, 2019
@hramos hramos removed the Bug Report label Feb 6, 2019
@outaTiME
Copy link

outaTiME commented Jul 26, 2019

Guys, any update with this issue?
BTW, paddingTop / paddingBottom works as expected.

@chrissnape
Copy link

I'm running 0.60.4 and paddingTop isn't working for me, when the TextInput is multiline

@godness84
Copy link

I'm running 0.60.4 and paddingTop isn't working for me, when the TextInput is multiline

@chrissnape It seems that using paddingTop and paddingBottom instead of paddingVertical it works!

@stale
Copy link

stale bot commented Dec 17, 2019

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Dec 17, 2019
@stale
Copy link

stale bot commented Dec 24, 2019

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Dec 24, 2019
@facebook facebook locked as resolved and limited conversation to collaborators Dec 25, 2019
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. Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

6 participants