From 0764687a8f5e6d65abd3d681a8e12c066f27c4da Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Thu, 27 Sep 2018 14:21:14 -0700 Subject: [PATCH] [fix] VirtualizedList disabled virtualization in tests Fix #1077 Close #1118 --- .../src/vendor/react-native/VirtualizedList/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native-web/src/vendor/react-native/VirtualizedList/index.js b/packages/react-native-web/src/vendor/react-native/VirtualizedList/index.js index 92b5485b..c38bb3d2 100644 --- a/packages/react-native-web/src/vendor/react-native/VirtualizedList/index.js +++ b/packages/react-native-web/src/vendor/react-native/VirtualizedList/index.js @@ -410,7 +410,7 @@ class VirtualizedList extends React.PureComponent { } static defaultProps = { - disableVirtualization: false, + disableVirtualization: process.env.NODE_ENV === 'test', horizontal: false, initialNumToRender: 10, keyExtractor: (item: Item, index: number) => {