Skip to content

Commit

Permalink
[Androd] Fix incorrectly scroll to top after refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
Yangfan Huang committed Dec 29, 2015
1 parent 7877d2b commit af45d84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GiftedListView.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ var GiftedListView = React.createClass({

_postRefresh(rows = [], options = {}) {
this._updateRows(rows, options);
if (this.props.refreshable === true) {
if (this.props.refreshable === true && Platform.OS !== 'android') {
// @issue
// if a scrolling is already in progress, this scroll will not be executed
this._scrollResponder.scrollTo(this.props.refreshableViewHeight);
Expand Down

0 comments on commit af45d84

Please sign in to comment.