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:
Родитель
624bdc7ec6
Коммит
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'
|
||||
? {
|
||||
|
|
Загрузка…
Ссылка в новой задаче