Commit b37023c
Reset zoomscale to 1 in Fabric RCTScrollViewComponentView (#54668)
Summary:
Fixes #48772 and expo/expo#39984
Resets the UIScrollView zoomScale to 1 before recycling the RCTScrollViewComponentView in Fabric.
## Changelog:
[IOS] [FIXED] - Reset zoomScale to 1 before recycling UIScrollView in Fabric
Pull Request resolved: #54668
Test Plan: Try the snack attached in expo/expo#39984 or the steps to reproduce in the same issue.
Reviewed By: fabriziocucci
Differential Revision: D87923379
Pulled By: javache
fbshipit-source-id: 693cb1f4b65ffdb2f0788a634e73f6c8cd27a94b1 parent 1bdd2a0 commit b37023c
File tree
1 file changed
+2
-0
lines changed- packages/react-native/React/Fabric/Mounting/ComponentViews/ScrollView
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
680 | 680 | | |
681 | 681 | | |
682 | 682 | | |
| 683 | + | |
| 684 | + | |
683 | 685 | | |
684 | 686 | | |
685 | 687 | | |
| |||
0 commit comments