-
Notifications
You must be signed in to change notification settings - Fork 24.2k
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
lineHeight style has no effect on multiline TextInput #25543
Comments
This is happening to me as well on iOS with RN 0.59.2 |
Can confirm on RN version 60. |
Still exists in RN v0.61. I have tried fixing this on my fork, but to no avail. Is anyone else willing to discuss this issue? |
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. |
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. |
This appears to be the same issue reported in #14232.
When lineHeight is added to multiline TextInput's the height of the TextInput is initially effected however this disappears on first input at which point this appears to be ignored.
React Native version:
expo SDK 33.0 => RN 0.59.8
Steps To Reproduce
1.Render TextInput with
multiline=true
andstyle={ lineHeight: <Number> }
Describe what you expected to happen:
lineHeight
should be applied to TextInput contents effectively allowing space to be applied between lines of text.Snack, code example, or link to a repository:
https://snack.expo.io/@njdancer/b91e88
The text was updated successfully, but these errors were encountered: