Skip to content

PAM Native 1.46.3

Choose a tag to compare

@DavidWilliamBalbino DavidWilliamBalbino released this 28 Oct 21:55
· 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 shared tag in templates
    (sharedStyle for 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 and SharedTransitionStyle::returning() sets the curve home
    (SharedTransitionEasing::EaseIn); springs are physical (damping ratio,
    stiffness, mass). With Fade only the top route fades, in step with the
    flights; a TransparentModal + Fade route 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 resolve nativeRefs on the whole screen when
    the detector does not contain them.