From 976afaa5eeb0c79d6aa05417b9e974d89b603b75 Mon Sep 17 00:00:00 2001 From: Mark Vayngrib Date: Wed, 24 Aug 2016 15:26:38 -0400 Subject: [PATCH] scroll fix for horizontal listview --- Libraries/ListView/ListView.web.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/ListView/ListView.web.js b/Libraries/ListView/ListView.web.js index bd2cb28..b7cce7b 100644 --- a/Libraries/ListView/ListView.web.js +++ b/Libraries/ListView/ListView.web.js @@ -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)) {