(Android) TextInput lag when there are a lot of messages
See original GitHub issue- Review the documentation: https://facebook.github.io/react-native
- Search for existing issues: https://github.com/facebook/react-native/issues
- Use the latest React Native version: https://github.com/facebook/react-native/releases
- Run
react-native info
in your terminal and paste its contents under “Environment” - Let us know how to reproduce the issue. Include a code sample, share a project, or share an app that reproduces the issue using https://snack.expo.io/
Environment
Environment: OS: macOS High Sierra 10.13.4 Node: 6.11.1 Yarn: 0.27.5 npm: 5.6.0 Watchman: 4.9.0 Xcode: Xcode 9.1 Build version 9B55 Android Studio: 3.0 AI-171.4443003
Packages: (wanted => installed) react: 16.3.1 => 16.3.1 react-native: 0.55.3 => 0.55.3 & 0.55.4
Description
When you type text on Android, hangs
Steps to Reproduce
When user enter large text (50+ characters) and remove it then repeat process again 2 or more times.
<TextInput
onChangeText={(text) => this.setState({text})}
value={
this.setState({text: this.state.text})
}
/>
Expected Behavior
Actual Behavior
Issue Analytics
- State:
- Created 5 years ago
- Reactions:9
- Comments:5
Top Results From Across the Web
Is Android Keyboard Lagging? Here's the fix for Tecno & ...
Keyboard lagging on android and ios devices is a fairly common issue. This is mostly associated with slow typing and dwindling responses ......
Read more >5 Common Android Messages Problems & Fixes
The biggest complaint we see about Google's Android Messages app is that it runs slow, laggy, and just struggles to keep up with...
Read more >Slow rendering
If your app suffers from slow UI rendering, then the system is forced to skip frames and the user will perceive stuttering in...
Read more >Approaches for diagnosing input lag / performance problems
The Application Manager in Android settings has a running process list. This list would show if a single process running in the background...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I can confirm this but it does not require lot of messages. It happens with any amount of text. Try the plain installation drop in a text input. Then type on android and try deleting. Gets slower over time.
I confirm, exact same issue with 0.55.4, it happens on android S5 mini after 20 input type/clear.