Skip to content
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

React navigation modal screen malfunctions after installing reanimated 2 (version 2.3.0-beta.3) (Android) #2642

Closed
onifs10 opened this issue Nov 18, 2021 Discussed in #2641 · 7 comments

Comments

@onifs10
Copy link

onifs10 commented Nov 18, 2021

Discussed in #2641

Originally posted by onifs10 November 18, 2021
So after installing reanimated-2, the modal screen malfunctions.

after navigating to a modal screen , on navigating back to the main screen the modal screen doesn't get fully unmounted (unstacked)

minimal code, for the stack navigation

      <NavigationContainer>
        <RootStack.Navigator
          screenOptions={{
            headerShown: false,
          }}>
          <RootStack.Group>
            <RootStack.Screen name="App" component={BottomNavigator} />
          </RootStack.Group>
          <RootStack.Group screenOptions={{presentation: 'modal'}}>
            <RootStack.Screen name="Test" component={TaskModalScreen} />
          </RootStack.Group>
        </RootStack.Navigator>
      </NavigationContainer>

screen record

screen-20211117-150019.mp4
@lamyuho
Copy link

lamyuho commented Nov 18, 2021

I have same issue as well

@bobsmits
Copy link
Contributor

Sounds like a duplicate of: #2538

@onifs10
Copy link
Author

onifs10 commented Nov 22, 2021

yeah @bobsmits but the fix provided for that is for ios , i am having this issue on android

@onifs10 onifs10 changed the title React navigation modal screen malfunctions after installing reanimated 2 React navigation modal screen malfunctions after installing reanimated 2 (Android) Nov 23, 2021
@onifs10 onifs10 changed the title React navigation modal screen malfunctions after installing reanimated 2 (Android) React navigation modal screen malfunctions after installing reanimated 2 (version 2.3.0-beta.3) (Android) Nov 23, 2021
@piaskowyk
Copy link
Member

Probably fixed, I will check it again

@piaskowyk piaskowyk self-assigned this Nov 23, 2021
@piaskowyk
Copy link
Member

@onifs10
Copy link
Author

onifs10 commented Nov 30, 2021

@piaskowyk tested , it now works perfectly

@piaskowyk
Copy link
Member

@onifs10 Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants