Closed
Description
After switching to the latest master (7165efc
at the time of writing), StackNavigator
is not passing down screenProps
to child screens and breaking a lot of existing code.
Root cause is screenProps
not being passed down in CardStackTransitioner
, see this line, it should have been {...this.props}
instead of {...props}
.
Or, at least pass screenProps
as below:
return (
<CardStack
headerComponent={headerComponent}
headerMode={headerMode}
mode={mode}
router={router}
cardStyle={cardStyle}
style={style}
screenProps={this.props.screenProps}
{...props}
/>
);
Metadata
Metadata
Assignees
Labels
No labels