Skip to content

Opening/Closing Modal From Nested Screen Animation Issue #9097

@cmrigney

Description

@cmrigney

Current Behavior

Opening/closing a modal from a nested screen creates a jumpy animation in the background screen (which does not occur when navigating from the root level).

react-nav-issue2

Expected Behavior

I would expect it to animate the background screen the same way the root level modal navigation does.

react-nav-working

How to reproduce

Run on iOS with this snack: https://snack.expo.io/EztQ1YPCk
I followed recommendations here to setup the modal navigation: https://reactnavigation.org/docs/modal/#creating-a-modal-stack

Your Environment

software version
iOS or Android iOS 14.2
@react-navigation/native 5.8.10
@react-navigation/stack 5.12.8
react-native-gesture-handler ^1.5.0
react-native-safe-area-context ^3.1.9
react-native-screens 2.10.1
react-native 0.63.2
expo N/A
node 12.16.3
npm or yarn 1.21.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions