Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only apply event throttling to scroll view events
Summary: Currently, all scroll events can be throttled by the `scrollEventThrottle` value when the intention is only to throttle `onScroll` calls. As a result, the scroll view helper unintentionally drops events unrelated to scrolling, like momentum begin/end. It's imperative that these momentum events dispatch so the scroll view does not lock itself in an "animated" state on the JS side; if locked in an animation state, children of the scroll view will not receive touch events. This can happen when the throttle is sufficiently high and momentum scrolling completes before the throttle time has elapsed. Changelog: [Android][Fixed] - Scroll view throttle no longer impacts events other than `onScroll` Differential Revision: D68234045
- Loading branch information