mirror of
https://github.com/status-im/react-native.git
synced 2025-01-09 17:15:54 +00:00
727b7dffb4
Summary: Hi there, when using the ScrollView component with `onScroll` and `scrollEventThrottle = 0` as it is documented in [react-native/docs/scrollview](https://facebook.github.io/react-native/docs/scrollview.html#scrolleventthrottle) this message will appear unnecessary. This happens because `!this.props.scrollEventThrottle` is `true` when the value is `0`. So I changed it to `this.props.scrollEventThrottle == null`. Now it is `false` when the value is `0`. Closes https://github.com/facebook/react-native/pull/10038 Differential Revision: D3909323 fbshipit-source-id: 3c701f23708b64576a8c9f47e140d87159087894