From 224331b1ed52d41d057a53b318b04408fbe9a71f Mon Sep 17 00:00:00 2001 From: Igor Randjelovic Date: Mon, 6 Mar 2023 22:22:09 +0100 Subject: [PATCH] fix: matchLayerProperties was needed there --- packages/core/ui/transition/modal-transition.ios.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/core/ui/transition/modal-transition.ios.ts b/packages/core/ui/transition/modal-transition.ios.ts index d4ebea5ac..9decdef83 100644 --- a/packages/core/ui/transition/modal-transition.ios.ts +++ b/packages/core/ui/transition/modal-transition.ios.ts @@ -133,8 +133,7 @@ class ModalTransitionController extends NSObject implements UIViewControllerAnim sharedElementSnapshot.contentMode = presentedSharedElement.contentMode; } - // todo: check if this is needed - seems like it's not after refactoring the updateFramePresent to do the snapshotting - // matchLayerProperties(sharedElementSnapshot, presentingSharedElement); + matchLayerProperties(sharedElementSnapshot, presentingSharedElement); sharedElementSnapshot.clipsToBounds = true; // console.log('---> snapshot: ', sharedElementSnapshot);