Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Summary: This pull request fixes a glitch that occurred when scrolling horizontally, as described in the facebook#3060.
Closes facebook#3169

Reviewed By: @​svcscm

Differential Revision: D2500186

Pulled By: @mkonicek
  • Loading branch information
grabbou authored and Tj committed Nov 9, 2015
1 parent 12f1bcb commit e4185a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Examples/UIExplorer/ScrollViewExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down

0 comments on commit e4185a5

Please sign in to comment.