Skip to content

Fix/group bounds - #145

Merged
eds2002 merged 7 commits into
mainfrom
fix/group-bounds
Aug 6, 2026
Merged

Fix/group bounds#145
eds2002 merged 7 commits into
mainfrom
fix/group-bounds

Conversation

@eds2002

@eds2002 eds2002 commented Aug 6, 2026

Copy link
Copy Markdown
Owner

Motivation

This patch addresses several transition issues discovered while using bounds and gesture-driven dismissal in more demanding application flows.

Transition.Boundary.Host could become unreliable inside large, dynamic, or virtualized lists. Escaped source boundaries depended on external host and scroll bookkeeping, which could become stale after scrolling or recycling content. This caused transitioned elements to render at an outdated position or temporarily disappear. Boundary hosts now use measurements local to their boundary, making escaped source positioning immediate and independent of the surrounding scroll implementation.

Grouped boundaries could also retain stale measurements after their active ID changed. Changing the active member of a group is now treated as an explicit refresh signal, ensuring dismissal targets the currently active source.

Dismissal additionally had separate gesture and programmatic completion paths. This could allow navigation removal and transition animation to become unsynchronized, producing stutters, premature removal, or stale lifecycle state. Both paths now request the same soft dismissal, while a single lifecycle listener completes navigation once the screen is closing and its animation progress reaches zero.

Together, these changes make grouped retargeting predictable, improve escaped-boundary behavior in large lists, and give gesture and programmatic dismissal one consistent lifecycle.

@netlify

netlify Bot commented Aug 6, 2026

Copy link
Copy Markdown

Deploy Preview for rnst-docs ready!

Name Link
🔨 Latest commit 5db85d7
🔍 Latest deploy log https://app.netlify.com/projects/rnst-docs/deploys/6a74e1a19bff0d0008a324cb
😎 Deploy Preview https://deploy-preview-145--rnst-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@eds2002
eds2002 merged commit 1f959d9 into main Aug 6, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant