-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
[Android] Scroll appears in TextInput with custom fonts and multiline=true #18132
Comments
@facebook-github-bot label Android |
Something went wrong executing that command, @hramos could you take a look? |
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. |
+1 |
I had this same issue. Eventually, I figured out a work around by setting Edit: use |
What makes it even worse is that |
@rikur |
Also had the same issue. It looks like there's something wrong with the |
+1 |
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. |
Still a bug |
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. |
AFAIK, still a bug in latest RN. |
Still a bug
…On Wed, 19 Aug, 2020, 3:54 am Riku Raisanen, ***@***.***> wrote:
AFAIK, still a bug in latest RN.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#18132 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGG2TEUHEG635KYI7FGEUSTSBL5SNANCNFSM4ESYS23A>
.
|
@fabriziobertoglio1987 did you have a PR that addressed this? |
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. |
thanks @safaiyeh , I think you refer to my pr #29025
while here I don't see a ScrollView, the issue should be investigated in the TextInput.js functionalities and ReactAndroid TextInput API Hopefully I'll have time in this days to take a look.. Thanks a lot! |
I faced the similar problem but my problem was I accentially set the height of textinput. So, it becomes scrollable with extra spaces, the problem was solved once I removed the height. |
Still broken on React Native 0.64. This is a pretty big issue. No solution worked for me other than removing the custom font. |
I'm still facing the same problem( I'm using a custom font ). the issue happening when the text input has font size style when I removed the font size the scroll disappeared so I think the problem is related to the text input height which affected by the font size. I hope you can fix this issue soon. |
I guess its due to the default Vertical padding present in the component . I just manually added a paddingVertical and it solved my issue !!. (try a lower value like 1 or 2 ) |
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. |
I am facing same exact issue |
still the same - RN hasn't an opportunity to disable visibility for TextInput multiline scroll |
Any solution for this? This also creates a problem. If you have several textinput with custom font inside a scrollview, you can't scroll on the screen by touching on them (due to the internal TextInput scroll). Any workaround? The only thing that worked was removing custom font from TextInput. |
still a bug on RN 0.72.6 |
style={{includeFontPadding: false}} works for me |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue was closed because it has been stalled for 7 days with no activity. |
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Steps to Reproduce
react-native link
).Expected Behavior
Get multiline input without scroll
Actual Behavior
Multiline input with scroll.
(1. Stardart font, 2-4. Custom fonts)
Reproducible Demo
I also tried to set autoGrow={true} but resultis the same
Full code with fonts (fonts from google fonts, so they are free).
https://github.com/mxck/react-native-TextInput-multiline-bug
The text was updated successfully, but these errors were encountered: