question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

(Android) TextInput lag when there are a lot of messages

See original GitHub issue

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})
}
/>

40582367-33f29d16-61b7-11e8-80ff-1967e8e0ba5c

Expected Behavior

Actual Behavior

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:9
  • Comments:5

github_iconTop GitHub Comments

3reactions
stueynetcommented, May 31, 2018

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.

2reactions
alwexcommented, Jun 10, 2018

I confirm, exact same issue with 0.55.4, it happens on android S5 mini after 20 input type/clear.

Read more comments on GitHub >

github_iconTop 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 >
React Native text input is very slow to update
I have a chat app for iOS and Android ...
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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found