From f30f51648262bd01039f47115dd4c8f947d3a3e6 Mon Sep 17 00:00:00 2001 From: Justin Mazzocchi <2831158+jzzocc@users.noreply.github.com> Date: Thu, 4 Mar 2021 16:53:49 -0800 Subject: [PATCH] Set final frame in transition --- Transitions/ZoomAnimator.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Transitions/ZoomAnimator.swift b/Transitions/ZoomAnimator.swift index 08da148..6770108 100644 --- a/Transitions/ZoomAnimator.swift +++ b/Transitions/ZoomAnimator.swift @@ -45,6 +45,7 @@ private extension ZoomAnimator { else { return } toVC.view.alpha = 0 + toVC.view.frame = transitionContext.finalFrame(for: toVC) toReferenceView.isHidden = true transitionContext.containerView.addSubview(toVC.view)