-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 #46315 from janicduplessis/@janic/fix-osr
Fix comment linking bugs
- Loading branch information
Showing
7 changed files
with
595 additions
and
51 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
25 changes: 13 additions & 12 deletions
25
patches/react-native+0.73.4+016+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 |
---|---|---|
@@ -1,22 +1,23 @@ | ||
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 | ||
index b4cfb3d..fdfae56 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"); | ||
@@ -265,6 +265,9 @@ static void RCTPerformMountInstructions( | ||
|
||
auto surfaceId = mountingCoordinator.getSurfaceId(); | ||
|
||
+ [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( | ||
} | ||
} | ||
} | ||
mountingCoordinator.getTelemetryController().pullTransaction( | ||
[&](const MountingTransaction &transaction, const SurfaceTelemetry &surfaceTelemetry) { | ||
[self.delegate mountingManager:self willMountComponentsWithRootTag:surfaceId]; | ||
@@ -278,6 +281,8 @@ static void RCTPerformMountInstructions( | ||
_observerCoordinator.notifyObserversMountingTransactionDidMount(transaction, surfaceTelemetry); | ||
[self.delegate mountingManager:self didMountComponentsWithRootTag:surfaceId]; | ||
}); | ||
+ | ||
+ [CATransaction commit]; | ||
} | ||
|
||
@implementation RCTMountingManager { | ||
- (void)setIsJSResponder:(BOOL)isJSResponder |
Oops, something went wrong.