mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Restore fix for ScrollView error on iOS
Summary: Changelog: [internal] This brings back a fix for ScrollView on iOS that we removed because we thought it was no longer necessary, but it actually is. Reviewed By: jacdebug Differential Revision: D39382967 fbshipit-source-id: f052b4fb899f4e60e8c530990caf07344a907c43
This commit is contained in:
committed by
Facebook GitHub Bot
parent
624bdc7ec6
commit
460153fc33
@@ -50,6 +50,10 @@ import AndroidHorizontalScrollViewNativeComponent from './AndroidHorizontalScrol
|
||||
import ScrollContentViewNativeComponent from './ScrollContentViewNativeComponent';
|
||||
import ScrollViewNativeComponent from './ScrollViewNativeComponent';
|
||||
|
||||
if (Platform.OS === 'ios') {
|
||||
require('../../Renderer/shims/ReactNative'); // Force side effects to prevent T55744311
|
||||
}
|
||||
|
||||
const {NativeHorizontalScrollViewTuple, NativeVerticalScrollViewTuple} =
|
||||
Platform.OS === 'android'
|
||||
? {
|
||||
|
||||
Reference in New Issue
Block a user