TrailCard transition with react-native-screen-transitions - #37
Open
NicooleT wants to merge 4 commits into
Open
Conversation
NicooleT
marked this pull request as ready for review
September 10, 2026 21:12
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.
Summary
Opening a trail now uses a thumbnail-to-hero zoom with
react-native-screen-transitionsinstead of the standard native-stack slide. The detail screen places its back button over the image and gives the content below it rounded top corners.Details
withScreenTransitionsand use the library's zoom transition. Match each list thumbnail to its detail hero through a sharedtrail-${id}boundary.Transition.ScrollViewand enable horizontal dismissal in both directions, plus downward dismissal coordinated with scrolling. Skip the custom animation when reduced motion is enabled.react-native-screen-transitions@4.0.0and an explicit masked-view dependency; update the package and iOS lockfiles.stim@1.0.0as a pinned development dependency and update the README commands tonpx stim …. This tooling update is included in commitb5653d1.Validation
npm run lintnpm run typecheckgit diff --checkstim logs --errorsreports no matching error records after the navigation check.Android validation above covers opening a card and using its back button. Swipe dismissal, reduced-motion behavior, and frame-by-frame transition quality still need Android visual review. Earlier iOS simulator checks covered the transition and dismissal gestures; the physical iPhone run was blocked by development-team signing configuration.
Visual evidence
Before: Standard native-stack navigation and a full-width detail header.
After: Thumbnail-to-hero zoom, image-overlay back button, and rounded detail content.