From 2b38a70e9c5fa8e10473c524bb7e197918ff490d Mon Sep 17 00:00:00 2001 From: Christopher Chedeau Date: Fri, 13 Mar 2015 10:41:57 -0700 Subject: [PATCH] [ReactNative] Fix ScrollView.scrollTo() --- Libraries/Components/ScrollView/ScrollView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Components/ScrollView/ScrollView.js b/Libraries/Components/ScrollView/ScrollView.js index 28494605d..4edfeda81 100644 --- a/Libraries/Components/ScrollView/ScrollView.js +++ b/Libraries/Components/ScrollView/ScrollView.js @@ -183,7 +183,7 @@ var ScrollView = React.createClass({ scrollTo: function(destY, destX) { RKUIManager.scrollTo( - ReactIOSTagHandles.rootNodeIDToTag[this._rootNodeID], + this.getNodeHandle(), destX || 0, destY || 0 );