forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix onMomentumScrollEnd dispatching on dismount
Summary: This change is a follow-up to facebook#46277. This fixes two small issues: 1. `onMomentumScrollEnd` would dispatch when a scroll view is unmounted, regardless if the view was in motion or not 1. `scrollToOffset` would fire `onMomentumScrollEnd` regardless if animations were turned on or off Changelog: [iOS][Fixed] - Fixed `onMomentumScrollEnd` event not firing on unmount when the scroll view is not in motion Differential Revision: D65559586
- Loading branch information
1 parent
125e541
commit 49ae6d1
Showing
2 changed files
with
18 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters