Repository navigation
PAM Native 1.46.3
·
344 commits
to main
since this release
PAM Native 1.46.3 (on top of 1.46.2) adds real shared elements.
Real shared elements on top of 1.46.2, no protocol change (core and extension identifiers as in 1.46.2; the shared tag and style use the existing core keys).
- Shared elements: any element takes a
sharedtag in templates
(sharedStylefor its motion). Media flights reuse the decoded image or
the current video frame and morph frame, crop (cover to contain) and corner
radius (also of a rounded clipping parent); only elements on screen on both
routes fly, otherwise the route transition runs alone. The top route's
style wins andSharedTransitionStyle::returning()sets the curve home
(SharedTransitionEasing::EaseIn); springs are physical (damping ratio,
stiffness, mass). WithFadeonly the top route fades, in step with the
flights; aTransparentModal+Faderoute flies on iOS too (custom
presentation). Predictive back / edge swipe drive the flights (Android, iOS). - A pop animates with the transition of the route being removed (React
Navigation), not the screen below's. Drag::holdAt(...): a release toward those snaps keeps the view where the
finger let go and reports the settle at once (drag to dismiss into a shared
element flight). Drag drivers resolvenativeRefs on the whole screen when
the detector does not contain them.