diff --git a/packages/virtualized-lists/Lists/VirtualizedList.js b/packages/virtualized-lists/Lists/VirtualizedList.js index a7775c9daa8aa3..e4817060f9439c 100644 --- a/packages/virtualized-lists/Lists/VirtualizedList.js +++ b/packages/virtualized-lists/Lists/VirtualizedList.js @@ -1080,6 +1080,7 @@ class VirtualizedList extends StateSafePureComponent { style: inversionStyle ? [inversionStyle, this.props.style] : this.props.style, + isInvertedVirtualizedList: this.props.inverted, maintainVisibleContentPosition: this.props.maintainVisibleContentPosition != null ? { @@ -1974,9 +1975,10 @@ class VirtualizedList extends StateSafePureComponent { } const styles = StyleSheet.create({ - verticallyInverted: { - transform: [{scaleY: -1}], - }, + verticallyInverted: + Platform.OS === 'android' + ? {transform: [{scale: -1}]} + : {transform: [{scaleY: -1}]}, horizontallyInverted: { transform: [{scaleX: -1}], }, diff --git a/packages/virtualized-lists/Lists/__tests__/__snapshots__/VirtualizedList-test.js.snap b/packages/virtualized-lists/Lists/__tests__/__snapshots__/VirtualizedList-test.js.snap index b877e3da84d999..c19130c6fa7ae6 100644 --- a/packages/virtualized-lists/Lists/__tests__/__snapshots__/VirtualizedList-test.js.snap +++ b/packages/virtualized-lists/Lists/__tests__/__snapshots__/VirtualizedList-test.js.snap @@ -1014,6 +1014,7 @@ exports[`VirtualizedList renders all the bells and whistles 1`] = ` getItemLayout={[Function]} invertStickyHeaders={true} inverted={true} + isInvertedVirtualizedList={true} keyExtractor={[Function]} onContentSizeChange={[Function]} onLayout={[Function]} diff --git a/packages/virtualized-lists/Lists/__tests__/__snapshots__/VirtualizedSectionList-test.js.snap b/packages/virtualized-lists/Lists/__tests__/__snapshots__/VirtualizedSectionList-test.js.snap index 3f64c8856611e6..ffca6bafe2bb10 100644 --- a/packages/virtualized-lists/Lists/__tests__/__snapshots__/VirtualizedSectionList-test.js.snap +++ b/packages/virtualized-lists/Lists/__tests__/__snapshots__/VirtualizedSectionList-test.js.snap @@ -796,6 +796,7 @@ exports[`VirtualizedSectionList renders all the bells and whistles 1`] = ` getItemLayout={[Function]} invertStickyHeaders={true} inverted={true} + isInvertedVirtualizedList={true} keyExtractor={[Function]} onContentSizeChange={[Function]} onLayout={[Function]}