New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
transparentModal presentation is not transparent during navigation animation #10298
Comments
Couldn't find version numbers for the following packages in the issue:
Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3. The versions mentioned in the issue for the following packages differ from the latest versions on npm:
Can you verify that the issue still exists after upgrading to the latest versions of these packages? |
Couldn't find version numbers for the following packages in the issue:
Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3. |
I am not using those libraries |
Current behavior
When using
createStackNavigator
to create a stack with 3 simple screens: Home, Profile & ModalScreen (which usespresentation: 'transparentModal'
.The Home screen has one button that navigates to the ModalScreen and it overlays on top of the Home screen well,
The ModalScreen has only one button that navigates to Profile screen. When pressing this button, the Home screen becomes blank then the navigation animation starts until the Profile screen mounts, This behaviour happens again when navigating back to the ModalScreen where the Home screen stays blank until the going back animation is done.
I think what is happening is that the Home screens is being detached from the view hierarchy before the animation start and I believe it should be after the animation finishes.
Screen.Recording.2022-01-27.at.04.05.32.mov
Expected behavior
Home screen stays visible underneath the Modal screen during any navigation events
Reproduction
https://github.com/1awaleed/transparentModalNavAnimation
Platform
Packages
Environment
The text was updated successfully, but these errors were encountered: