The scrollview breaks on iOS 10 when using RN-0.48
See original GitHub issueError:
Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[RCTCustomScrollView setContentInsetAdjustmentBehavior:]: unrecognized selector sent to instance 0x7ffab9891a00’
Reproduce:
Build your app by XCode9-GM, then run it on your iOS10 device or below version.
Env:
Device - iOS 10.3.1
XCode 9.0 (9A235)
react-native - 0.48.3
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:9 (1 by maintainers)
Top Results From Across the Web
React Native's ScrollView Broken on iOS Physical Device
I have an issue on React Native's iOS ScrollView, it was broken after implementing GIF's while scrolling. It happened only on physical ...
Read more >xcode 8/ iOS 10 Scroll view proble… | Apple Developer Forums
I am using auto resizing for screen adaptions. I need to solve that problem and submit to store asap. Please help me out....
Read more >Scrolling interacts strangely with SafeAreaView on iPhone X
I am experiencing a similar problem using ScrollView nested within a SafeAreaView. It breaks my positioning on elements by reducing their width.
Read more >Common bugs in React Native ScrollView and how to fix them
Today, I'll explain some common mistakes when using ScrollView in React Native and how to avoid them, plus a few tips and tricks...
Read more >react-native-keyboard-aware-scroll-view - npm
A React Native ScrollView component that resizes when the keyboard appears.. Latest version: 0.9.5, last published: a year ago. Start using ...
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 issue is in https://github.com/wix/react-native-navigation
You can fix it yourself. Just find
RCCViewController.m
and change this line to the following:I think the latest react-native-navigation@1.1.229 has merged my PR and addressed this issue.