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
Port the container-nesting protocol from Android to iOS so nesting
information propagates between containers, and use it to resolve the
content scroll view for special effects (scroll-to-top) across a nesting
boundary.
`RNSStackHostComponentView` and `RNSTabsHostComponentView` adopt the new
`RNSContainer` protocol and register with the nearest parent
`RNSContainerItem` on attach/detach to the window. `RNSStackScreenComponentView`
and `RNSTabsScreenComponentView` adopt `RNSContainerItem`; content-scroll-view
resolution now follows cached -> nested container -> descendant-chain
heuristic.
Shared state/logic lives in two composition holders mirroring the Android
side: `RNSContainerItemSupport` (item side) and
`RNSParentContainerItemRegistry` (container side). The parent walk prefers
the React superview chain, matching the scroll-view marker ancestor lookup.
`RNSTabsScreenViewController.resolveContentScrollView` now delegates to the
screen's `findContentScrollView`, removing the duplicated edge/heuristic
lookup.
0 commit comments