forked from Expensify/App
-
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.
Merge pull request Expensify#40243 from ikevin127/fix/40081
[Fabric] iOS - Stretched border animations between screen transitions
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
patches/react-native+0.73.4+014+iOSCoreAnimationBorderRendering.patch
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/node_modules/react-native/React/Fabric/Mounting/RCTMountingManager.mm b/node_modules/react-native/React/Fabric/Mounting/RCTMountingManager.mm | ||
index b4cfb3d..7aa00e5 100644 | ||
--- a/node_modules/react-native/React/Fabric/Mounting/RCTMountingManager.mm | ||
+++ b/node_modules/react-native/React/Fabric/Mounting/RCTMountingManager.mm | ||
@@ -49,6 +49,9 @@ static void RCTPerformMountInstructions( | ||
{ | ||
SystraceSection s("RCTPerformMountInstructions"); | ||
|
||
+ [CATransaction begin]; | ||
+ [CATransaction setValue:(id)kCFBooleanTrue forKey:kCATransactionDisableActions]; | ||
+ | ||
for (const auto &mutation : mutations) { | ||
switch (mutation.type) { | ||
case ShadowViewMutation::Create: { | ||
@@ -147,6 +150,7 @@ static void RCTPerformMountInstructions( | ||
} | ||
} | ||
} | ||
+ [CATransaction commit]; | ||
} | ||
|
||
@implementation RCTMountingManager { |