Fixes #3060
Summary: This pull request fixes a glitch that occurred when scrolling horizontally, as described in the #3060. Closes https://github.com/facebook/react-native/pull/3169 Reviewed By: @svcscm Differential Revision: D2500186 Pulled By: @mkonicek
This commit is contained in:
parent
0fb2fb37cc
commit
2f76c8a4a9
|
@ -33,9 +33,9 @@ exports.examples = [
|
|||
render: function() {
|
||||
return (
|
||||
<ScrollView
|
||||
automaticallyAdjustContentInsets={false}
|
||||
onScroll={() => { console.log('onScroll!'); }}
|
||||
scrollEventThrottle={200}
|
||||
contentInset={{top: -50}}
|
||||
style={styles.scrollView}>
|
||||
{THUMBS.map(createThumbRow)}
|
||||
</ScrollView>
|
||||
|
@ -47,8 +47,8 @@ exports.examples = [
|
|||
render: function() {
|
||||
return (
|
||||
<ScrollView
|
||||
automaticallyAdjustContentInsets={false}
|
||||
horizontal={true}
|
||||
contentInset={{top: -50}}
|
||||
style={[styles.scrollView, styles.horizontalScrollView]}>
|
||||
{THUMBS.map(createThumbRow)}
|
||||
</ScrollView>
|
||||
|
|
Loading…
Reference in New Issue