Repository navigation
Replies: 1 comment 3 replies
|
Hi @arnabJ, You're not missing anything, they can't be nested right now, and the source shows why.
Same with What works today:
Supporting it properly would need |
|
Hi @arnabJ, You're not missing anything, they can't be nested right now, and the source shows why.
Same with What works today:
Supporting it properly would need |
Hi @arnabJ,
You're not missing anything, they can't be nested right now, and the source shows why.
ScrollHeadertakes the first child that isn't aBar,LargeorCoveras the scroller (splitChildreninscroll-header/index.tsx). It wraps that element's type withAnimated.createAnimatedComponentand gives itonScroll, aref, andcontentContainerStyle={[..., { paddingTop: headerHeight }]}. When the child is<ScrollBlur>, all of that goes toScrollBlur, which spreads its own props onto the outerViewand creates its own animated version of the list inside with just its child's props. So:paddingTopinset never reaches the list → it starts at the very top