You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: Hiding a dehydrated Activity hides every sibling after it #37813
hideOrUnhideDehydratedBoundary walks siblings until <!--/$--> and only counts Suspense start markers for depth. On an Activity instance it never sees its end, so it hides every following sibling in the parent.
The expected behavior
Only the dehydrated Activity's content is hidden. The walk should stop at the matching <!--/&--> and count nested <!--&-->, like clearHydrationBoundary does.
In Next.js with Cache Components, this hides everything a layout renders after {children} (toasts, the route announcer) when you navigate before the previous page has hydrated. Same scenario as #37135.
Activity
[DOM] Stop hiding siblings after a dehydrated Activity (#37814)
[DOM] Stop hiding siblings after a dehydrated Activity (#37814)
[DOM] Stop hiding siblings after a dehydrated Activity (#37814)