We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7e76901 + 39a5fe4 commit ae7b09dCopy full SHA for ae7b09d
Libraries/ScrollView/ScrollView.web.js
@@ -159,7 +159,11 @@ class ScrollView extends Component {
159
160
let handleScroll = () => {};
161
if (this.props.scrollEventThrottle && this.props.onScroll) {
162
- handleScroll = throttle(this.handleScroll, this.props.scrollEventThrottle ? 1000 / this.props.scrollEventThrottle : 1000);
+ if (this.props.scrollEventThrottleDisable) {
163
+ handleScroll = this.handleScroll;
164
+ } else {
165
+ handleScroll = throttle(this.handleScroll, this.props.scrollEventThrottle ? 1000 / this.props.scrollEventThrottle : 1000);
166
+ }
167
}
168
169
let props = {
0 commit comments