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
This commit is contained in:
Dave Miller 2016-03-18 09:03:58 -07:00 committed by Facebook Github Bot 3
parent 307c530ef1
commit a6ada1e946
1 changed files with 1 additions and 1 deletions

View File

@ -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 <ScrollView> but not ' +
'`scrollEventThrottle`. You will only receive one event. ' +