mirror of
https://github.com/status-im/react-native.git
synced 2025-02-05 14:13:26 +00:00
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:
parent
307c530ef1
commit
a6ada1e946
@ -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. ' +
|
||||
|
Loading…
x
Reference in New Issue
Block a user