Make Scene Container editable / replacable as component
OmerC
As I researched having a scaling drawer with header on is never done. Every tutorial just hides the default header.
To overcome this we could give access to Scene Container component. for example:
<Drawer.Navigator screenOptions={{
sceneContainerComponent=(props) => {
//scaling drawer logic here
<Animated.View style={animatedStyle}>{props.children /
which is actual screen component
/}</Animated.View>}
}}>
</Drawer.Navigator>
With some option like this we could easily manipulate scene for any desired animations and features. Of course this is easy to workaround but why not support it ?
OmerC
For example I used sceneContainerStyle here statically. The animatedStyle given to sceneContainerStyle didn't work.