diff --git a/node_modules/react-native/Libraries/Components/ScrollView/ScrollView.js b/node_modules/react-native/Libraries/Components/ScrollView/ScrollView.js index c344ac4..479c8c0 100644 --- a/node_modules/react-native/Libraries/Components/ScrollView/ScrollView.js +++ b/node_modules/react-native/Libraries/Components/ScrollView/ScrollView.js @@ -1244,9 +1244,17 @@ class ScrollView extends React.Component { // Note: we should split props.style on the inner and outer props // however, the ScrollView still needs the baseStyle to be scrollable const {outer, inner} = splitLayoutProps(flattenStyle(props.style)); + + // Workaround for RefreshControl inverted: https://github.com/facebook/react-native/issues/30034 + let inverted; + if (inner.scaleY) { + inverted = { scaleY: -1 }; + delete inner.scaleY; + } + return React.cloneElement( refreshControl, - {style: [baseStyle, outer]}, + {style: [baseStyle, outer, inverted]},