Skip to content

Commit 3cc5684

Browse files
authored
closes #95 Changed scrollEventThrottle to rightly handle reset position (#97)
1 parent 3f768ed commit 3cc5684

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/KeyboardAwareListView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ const KeyboardAwareListView = React.createClass({
3030
keyboardDismissMode='interactive'
3131
contentInset={{bottom: this.state.keyboardSpace}}
3232
showsVerticalScrollIndicator={true}
33+
scrollEventThrottle={0}
3334
{...this.props}
34-
scrollEventThrottle={8}
3535
onScroll={e => {
3636
this.handleOnScroll(e)
3737
this.props.onScroll && this.props.onScroll(e)

lib/KeyboardAwareScrollView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ const KeyboardAwareScrollView = React.createClass({
3131
keyboardDismissMode='interactive'
3232
contentInset={{bottom: this.state.keyboardSpace}}
3333
showsVerticalScrollIndicator={true}
34+
scrollEventThrottle={0}
3435
{...this.props}
35-
scrollEventThrottle={8}
3636
onScroll={e => {
3737
this.handleOnScroll(e)
3838
this.props.onScroll && this.props.onScroll(e)

0 commit comments

Comments
 (0)