Send onScrollEnded Event to native driver#45382
Conversation
|
This pull request was exported from Phabricator. Differential Revision: D59459989 |
Base commit: c1b4133 |
|
This pull request was exported from Phabricator. Differential Revision: D59459989 |
3a18147 to
cd47417
Compare
|
This pull request was exported from Phabricator. Differential Revision: D59459989 |
cd47417 to
b5a4692
Compare
|
This pull request was exported from Phabricator. Differential Revision: D59459989 |
b5a4692 to
6ed884a
Compare
Summary: Pull Request resolved: facebook#45382 This change is the first step to tr and solve the pressability's `onTouchMove` issue with animation driven natively in the New Architecture. The idea is to trigger a special event from native to let JS know that a scroll event has ended (`scrollViewDidEndDragging` or `scrollViewdidEndDecelerating`). When this happens, we need to send an event to JS to let him know that it has to sync the Native Tree with the Shadow Tree. Step 2 is to connect Native with JS ## Changelog: [iOS][Added] - Send onScrollEnded event to NativeTurboAnimatedModule Differential Revision: D59459989 Reviewed By: sammy-SC
6ed884a to
ab87d4b
Compare
|
This pull request was exported from Phabricator. Differential Revision: D59459989 |
|
This pull request was exported from Phabricator. Differential Revision: D59459989 |
ab87d4b to
395b1c5
Compare
|
This pull request was exported from Phabricator. Differential Revision: D59459989 |
395b1c5 to
1190fd0
Compare
Summary: Pull Request resolved: facebook#45382 This change is the first step to tr and solve the pressability's `onTouchMove` issue with animation driven natively in the New Architecture. The idea is to trigger a special event from native to let JS know that a scroll event has ended (`scrollViewDidEndDragging` or `scrollViewdidEndDecelerating`). When this happens, we need to send an event to JS to let him know that it has to sync the Native Tree with the Shadow Tree. Step 2 is to connect Native with JS ## Changelog: [iOS][Added] - Send onScrollEnded event to NativeTurboAnimatedModule Differential Revision: D59459989 Reviewed By: sammy-SC
|
This pull request was exported from Phabricator. Differential Revision: D59459989 |
1190fd0 to
794d7d5
Compare
Summary: Pull Request resolved: facebook#45382 This change is the first step to tr and solve the pressability's `onTouchMove` issue with animation driven natively in the New Architecture. The idea is to trigger a special event from native to let JS know that a scroll event has ended (`scrollViewDidEndDragging` or `scrollViewdidEndDecelerating`). When this happens, we need to send an event to JS to let him know that it has to sync the Native Tree with the Shadow Tree. Step 2 is to connect Native with JS ## Changelog: [iOS][Added] - Send onScrollEnded event to NativeTurboAnimatedModule Reviewed By: sammy-SC Differential Revision: D59459989
|
This pull request was exported from Phabricator. Differential Revision: D59459989 |
794d7d5 to
22473e5
Compare
|
This pull request has been merged in 7af7432. |
|
This pull request was successfully merged by @cipolleschi in 7af7432 When will my fix make it into a release? | How to file a pick request? |
Summary:
This change is the first step to tr and solve the pressability's
onTouchMoveissue with animation driven natively in the New Architecture.The idea is to trigger a special event from native to let JS know that a scroll event has ended (
scrollViewDidEndDraggingorscrollViewdidEndDecelerating).When this happens, we need to send an event to JS to let him know that it has to sync the Native Tree with the Shadow Tree.
Step 2 is to connect Native with JS
Changelog:
[iOS][Added] - Send onScrollEnded event to NativeTurboAnimatedModule
Differential Revision: D59459989