diff --git a/RNTester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios/testScrollViewExample_1-iOS11@2x.png b/RNTester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios/testScrollViewExample_1-iOS11@2x.png index 0422871d4d5..256a4c1c1c7 100644 Binary files a/RNTester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios/testScrollViewExample_1-iOS11@2x.png and b/RNTester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios/testScrollViewExample_1-iOS11@2x.png differ diff --git a/RNTester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios/testScrollViewExample_1-iOS11@3x.png b/RNTester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios/testScrollViewExample_1-iOS11@3x.png index 525031edc25..2be5f4cf9ae 100644 Binary files a/RNTester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios/testScrollViewExample_1-iOS11@3x.png and b/RNTester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios/testScrollViewExample_1-iOS11@3x.png differ diff --git a/RNTester/js/ScrollViewExample.js b/RNTester/js/ScrollViewExample.js index 6c8521a1eb0..fff20aa2e36 100644 --- a/RNTester/js/ScrollViewExample.js +++ b/RNTester/js/ScrollViewExample.js @@ -9,7 +9,6 @@ */ 'use strict'; -const ActivityIndicator = require('ActivityIndicator'); const Platform = require('Platform'); const React = require('react'); const ReactNative = require('react-native'); @@ -155,7 +154,6 @@ if (Platform.OS === 'ios') { autoscrollToTopThreshold: 10, }} style={styles.scrollView}> - {this.state.items.map(item => React.cloneElement(item, {key: item.props.msg}), )} @@ -168,7 +166,6 @@ if (Platform.OS === 'ios') { autoscrollToTopThreshold: 10, }} style={[styles.scrollView, styles.horizontalScrollView]}> - {this.state.items.map(item => React.cloneElement(item, {key: item.props.msg, style: null}), )}