This repository has been archived by the owner on Feb 18, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary:The docs indicated that a higher number was more accurate, however based on the implementation: ``` /** * TODO: this logic looks wrong, and it may be because it is. Currently, if _scrollEventThrottle * is set to zero (the default), the "didScroll" event is only sent once per scroll, instead of repeatedly * while scrolling as expected. However, if you "fix" that bug, ScrollView will generate repeated * warnings, and behave strangely (ListView works fine however), so don't fix it unless you fix that too! */ if (_allowNextScrollNoMatterWhat || (_scrollEventThrottle > 0 && _scrollEventThrottle < (now - _lastScrollDispatchTime))) ``` https://github.com/facebook/react-native/blob/master/React/Views/RCTScrollView.m#L564 It appears that only 0 is a special case here, and perhaps a known issue ;) Closes facebook#3729 Differential Revision: D3074801 Pulled By: mkonicek fb-gh-sync-id: f63b00755f7565165cc628085efa5ed96badcfe1 shipit-source-id: f63b00755f7565165cc628085efa5ed96badcfe1
- Loading branch information