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

Commit

Permalink
Remove DEV warning about ScrollEventThrottle on Android where it is n…
Browse files Browse the repository at this point in the history
…ot supported

Reviewed By: bestander

Differential Revision: D3069574

fb-gh-sync-id: f0d9aca754e45a34836d26febdabacb6424ca371
shipit-source-id: f0d9aca754e45a34836d26febdabacb6424ca371
  • Loading branch information
Dave Miller authored and Facebook Github Bot 3 committed Mar 18, 2016
1 parent 307c530 commit a6ada1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/Components/ScrollView/ScrollView.js
Original file line number Diff line number Diff line change
Expand Up @@ -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. ' +
Expand Down

0 comments on commit a6ada1e

Please sign in to comment.