Closed
Description
At the moment, the overlay is the last element rendered in the AnimationAnimatedView
:
https://github.com/facebook/react-native/blob/master/Libraries/NavigationExperimental/NavigationAnimatedView.js#L165
The drawback of this approach is you have to position the overlay in absolute to get it on top and then you have to manually add a marginTop to your scene if the overlay is not a true overlay, like the navigation header.
Given RN flexbox implementation does not support order
property, we cannot re arrange it to be first. I dont think there is any drawback to actually renderer it first so that we can naturally leverage flexbox if needed.
@ericvicenti any though ?
Thanks