feat(ios): shared transition interactive morph dismiss with cornerRadius and alpha fixes - #11321
Open
NathanWalker wants to merge 1 commit into
Open
feat(ios): shared transition interactive morph dismiss with cornerRadius and alpha fixes#11321NathanWalker wants to merge 1 commit into
NathanWalker wants to merge 1 commit into
Conversation
|
View your CI Pipeline Execution ↗ for commit 54254ac
💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗ ☁️ Nx Cloud last updated this comment at |
NathanWalker
force-pushed
the
feat/shared-transition-interactive-morph
branch
from
August 1, 2026 17:35
4a4f611 to
feaed1d
Compare
…ius and alpha fixes - adds a`morph` option to interactive dismiss: the destination view scales/translates with the finger, springs back on cancel, and morphs into the matching source element frame on finish (with shared-element snapshot fly-back). - Gesture phase tracking (idle/pending/active/ignored) so vertical scrolls on inner scroll views no longer engage the dismiss; the inner scroll view is frozen while a dismiss is active. - Adds `cornerRadius` to SharedProperties, animated across present/dismiss and driven by percent during interactive dismissal (sheet-style transitions). - Uses native alpha instead of NS opacity when hiding shared elements during transitions, restoring from NS opacity as the source of truth. Tracks all presenting views (including duplicate sharedTransitionTags in sister lists) so cleanup restores every element and avoids double-image artifacts. - Detaches imageSourceChange listeners on cleanup and seeds image snapshots from the source image to avoid a blank first frame. - Disables iOS' built-in edge pan while a custom interactive dismiss is wired so it can't race the custom recognizer. - snapshotView now restores layer opacity synchronously inside a CATransaction instead of on next tick, so cleanup opacity changes aren't clobbered.
NathanWalker
force-pushed
the
feat/shared-transition-interactive-morph
branch
from
August 3, 2026 20:48
feaed1d to
54254ac
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
morphoption to interactive dismiss: the destination view scales/translates with the finger, springs back on cancel, and morphs into the matching source element frame on finish (with shared-element snapshot fly-back).cornerRadiusto SharedProperties, animated across present/dismiss and driven by percent during interactive dismissal (sheet-style transitions).