Control the screen container animation with DrawerNavigator
marked this post as
The drawer exposes the animation progress in 6.x with
useDrawerProgress, which you can use to animate your screen content the way you want: https://github.com/react-navigation/react-navigation/blob/42a875212c5071b12e92eaf159ef488365413ab8/packages/drawer/src/index.tsx#L22
Instead shouldn't the logic be to signal screen container to do appropriate animations when required. It could help to make some navigation actions for such behavior.