From a6ada1e9466d5c88c03af67524433ffc29881878 Mon Sep 17 00:00:00 2001 From: Dave Miller Date: Fri, 18 Mar 2016 09:03:58 -0700 Subject: [PATCH] Remove DEV warning about ScrollEventThrottle on Android where it is not supported Reviewed By: bestander Differential Revision: D3069574 fb-gh-sync-id: f0d9aca754e45a34836d26febdabacb6424ca371 shipit-source-id: f0d9aca754e45a34836d26febdabacb6424ca371 --- 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 181d1c42775965..e8c4367ed8d9f7 100644 --- a/Libraries/Components/ScrollView/ScrollView.js +++ b/Libraries/Components/ScrollView/ScrollView.js @@ -396,7 +396,7 @@ var ScrollView = React.createClass({ handleScroll: function(e: Object) { if (__DEV__) { - if (this.props.onScroll && !this.props.scrollEventThrottle) { + if (this.props.onScroll && !this.props.scrollEventThrottle && Platform.OS === 'ios') { console.log( 'You specified `onScroll` on a but not ' + '`scrollEventThrottle`. You will only receive one event. ' +