-
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
TextInput does not scroll on Android with multiline on and editable off #23117
Comments
A solution is to change the warper style depending on what you want to do.
|
It looks like you are using an older version of React Native. Please update to the latest release, v0.58 and verify if the issue still exists. The "⏪Old Version" label will be removed automatically once you edit your original post with the results of running |
Can someone who is familiar with text input on Android comment on whether this behavior comforms to platform conventions? Is this a bug, or is this working as expected? |
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. |
Environment
in #18601 issue is happened on version 0.54.3, but that issue is closed.
in #14856 issue is happened on version 0.46, but that issue is closed.
Steps to Reproduce
Set a part Props of "TextInput" as follows.
Set more lines text contents in this "TextInput" while
For example, if this "TextInput" can display up to max 5 lines in one times, Set 6 or more lines text in it.
Expected Behavior
I think that contents of contents should be able to be displayed by scrolling,
regardless of whether it can be input to "TextInput" or not.
Actual Behavior
At present, the current code is working perfectly on iOS.
In Android, the text is shown but if the text is too large it is impossible to scroll inside the textInput.
I tried adding some others props to the textInput in order to make sure the scroll was activated but nothing did the trick :
As soon as I remove the
editable
the scroll works normally.Thanks 👍
The text was updated successfully, but these errors were encountered: