Skip to content

Commit 9c3854c

Browse files
luqiuyuanalvaromb
authored andcommitted
Change value of scrollEventThrottle to 1 (APSL#161)
1 parent e736a47 commit 9c3854c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/KeyboardAwareFlatList.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const KeyboardAwareFlatList = createReactClass({
5454
contentInset={{bottom: keyboardSpace}}
5555
automaticallyAdjustContentInsets={false}
5656
showsVerticalScrollIndicator={true}
57-
scrollEventThrottle={0}
57+
scrollEventThrottle={1}
5858
{...this.props}
5959
contentContainerStyle={newContentContainerStyle || contentContainerStyle}
6060
onScroll={this.onScroll}

lib/KeyboardAwareListView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const KeyboardAwareListView = createReactClass({
5454
contentInset={{bottom: keyboardSpace}}
5555
automaticallyAdjustContentInsets={false}
5656
showsVerticalScrollIndicator={true}
57-
scrollEventThrottle={0}
57+
scrollEventThrottle={1}
5858
{...this.props}
5959
contentContainerStyle={newContentContainerStyle || contentContainerStyle}
6060
onScroll={this.onScroll}

lib/KeyboardAwareScrollView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const KeyboardAwareScrollView = createReactClass({
4848
contentInset={{bottom: keyboardSpace}}
4949
automaticallyAdjustContentInsets={false}
5050
showsVerticalScrollIndicator={true}
51-
scrollEventThrottle={0}
51+
scrollEventThrottle={1}
5252
{...this.props}
5353
contentContainerStyle={newContentContainerStyle || contentContainerStyle}
5454
onScroll={e => {

0 commit comments

Comments
 (0)