react-native-screens
react-native-screens copied to clipboard
fix: animation when replacing ios modal
Description
PR changing the order of updating the VCs of native-stack
in order to first dismiss the modal and then push/pop normal screens.
Screenshots / GIFs
Before
https://user-images.githubusercontent.com/32481228/128707566-317ccc1a-b324-4bd0-9d1b-09b5c09e0fed.mp4
After
https://user-images.githubusercontent.com/32481228/128707575-dd6f1e67-89bb-4077-965c-00d654d8a3d0.mp4
Test code and steps to reproduce
Test1041.tsx
Checklist
- [x] Included code example that can be used to test this change
- [x] Ensured that CI passes