react-native: TextInput does not scroll on Android with multiline on and editable off
Description
I have a form with multiline TeaxtInput field.
<TextInput
multiline={true}
editable={false}
numberOfLines={5}
/>
When the form is approved, all fields are not editable. But the problem is unable to scroll multiline TextInput field since it is not editable. User faces difficulties to read the complete text in the TextInput.
Version
“react-native”: “0.70.1”
Output of npx react-native info
System:
OS: macOS 12.5
CPU: (8) x64 Apple M1
Memory: 43.10 MB / 8.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 14.0.0 - /usr/local/bin/node
Yarn: Not Found
npm: 6.14.4 - /usr/local/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.11.2 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5
Android SDK: Not Found
IDEs:
Android Studio: 2021.3 AI-213.7172.25.2113.9123335
Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild
Languages:
Java: 11.0.17 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.1.0 => 18.1.0
react-native: 0.70.1 => 0.70.1
react-native-macos: Not Found
npmGlobalPackages:
*react-native*: Not Found
Steps to reproduce
This code snippet can reproduce the issue
<TextInput
multiline={true}
editable={false}
numberOfLines={5}
/>
Snack, code example, screenshot, or link to a repository
This issue had been already reported – https://github.com/facebook/react-native/issues/23117. But there is no response form react-native team.
Can some one from react-native team confirms that, This is the default behaviour in Android?
OR
Is there any solution for this issue form react-native team?
About this issue
- Original URL
- State: open
- Created 4 years ago
- Reactions: 3
- Comments: 18
Here we are in 2025 and this still doesnt work.
Why is this closed. The problem was never addressed
Why is it closed ? Over 2 years without attention from team. 😢
+1
+1
+1
+1
Please refrain from doing +1’s. They don’t help anyone and are spamming people’s notifications.
If you want to express support for this issue, please use the +1 reaction on the issue itself.