Skip to content
This repository has been archived by the owner on May 13, 2019. It is now read-only.

Commit

Permalink
Merge pull request #150 from mvayngrib/scrollfix
Browse files Browse the repository at this point in the history
scroll fix for horizontal listview
  • Loading branch information
yuanyan committed Aug 26, 2016
2 parents 59f62c6 + 976afaa commit 91fde9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/ListView/ListView.web.js
Expand Up @@ -585,7 +585,7 @@ class ListView extends Component {
isVertical ? 'scrollHeight' : 'scrollWidth'
];
this.scrollProperties.offset = target[
isVertical ? 'scrollTop' : 'scrollTop'
isVertical ? 'scrollTop' : 'scrollLeft'
];
// this._updateVisibleRows(e.nativeEvent.updatedChildFrames);
if (!this._maybeCallOnEndReached(e)) {
Expand Down

0 comments on commit 91fde9f

Please sign in to comment.