App freezes when focus TextInput
See original GitHub issueReact Native version: 0.61.1
Steps To Reproduce
- npx react-native init test-textinput
- add TextInput component
const App = () => {
const [value, setValue] = useState('init');
return (
<View style={{ flex: 1, marginTop: 100 }}>
<TextInput value={value} onChangeText={text => setValue(text)} />
</View>
);
};
- Open app in Iphone8 emulator
Describe what you expected to happen: it is possible to type text into input field
What actually happens: Application freezes after focusing TextInput
Issue Analytics
- State:
- Created 4 years ago
- Reactions:37
- Comments:33 (1 by maintainers)
Top Results From Across the Web
React Native TextInput causing UI freeze on iOS
I'm running this code on a Mac within an iPhone 13 iOS 15.4 simulator. This is an Expo managed project but while following...
Read more >Setting focus to True on TextInput crashes app in Windows
Setting focus to True on TextInput crashes app in Windows ... This code works perfectly on Linux but trashes the app with a...
Read more >[Resolve]-safari iphone ios 7 Freezes on input text focus
The problem is similar to this iOS 7 Safari: OS locks up for 4 seconds when clicking/focusing on a HTML input but in...
Read more >Xcode 11 iOS 13 simulator freeze UITextField - Apple Developer
As soon as the text field gets focus the app in the simulator freezes. Unfortunately disabling "Automatically Sync Pasteboard" doesn't work for me....
Read more >my application crashes after i add onchange in the input tag ...
First the same kind of crash happend when i tried to open the Modal while QrCode image was visible. That's why I added...
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 FreeTop 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
Top GitHub Comments
The last comment in the apple thread fixed for me:
Simulator: Hardware > "Erase all contents and settings"
+disable pastebin sync
I experience the same issue with RN 0.61.2 as well. It works on Android but every focus to
TextInput
on iOS freezes the app.