react-navigation / react-navigation

Routing and navigation for your React Native apps
https://reactnavigation.org
23.3k stars 4.97k forks source link

App is freezing if you use drawer navigation on RN 73.7 #11956

Closed BrianSoevii closed 3 weeks ago

BrianSoevii commented 3 weeks ago

Current behavior

Basically if you use drawer navigator app freezes, when i remove the drawer component the app works normally

import * as React from 'react';
import {
  createDrawerNavigator,
  DrawerContentComponentProps,
} from '@react-navigation/drawer';
import DrawerContent from './DrawerContent';
import AppStack from './AppStack';

const Drawer = createDrawerNavigator();

function DrawerStack() {
  return (
    <Drawer.Navigator
      drawerContent={(props: DrawerContentComponentProps) => (
        <DrawerContent {...props} />
      )}>
      <Drawer.Screen name="Main" component={AppStack} />
    </Drawer.Navigator>
  );
}

export default DrawerStack;

Expected behavior

App not freezing :(

Reproduction

it's not needed in this case

Platform

Packages

Environment

package version
@react-navigation/native 6.1.17
@react-navigation/drawer 6.6.15
@react-navigation/stack 6.3.29
@react-navigation/native-stack 6.9.26
react-native-safe-area-context 4.9.0
react-native-screens 3.30.1
react-native-gesture-handler 2.16.0
react-native-reanimated 3.8.1
react-native 0.73.7
github-actions[bot] commented 3 weeks ago

Hey @BrianSoevii! Thanks for opening the issue. It seems that the issue doesn't contain a link to a repro.

The best way to get attention to your issue is to provide an easy way for a developer to reproduce the issue.

You can provide a repro using any of the following:

tomDubrovsky commented 2 weeks ago

any updates?

github-actions[bot] commented 2 weeks ago

Hey! This issue is closed and isn't watched by the core team. You are welcome to discuss the issue with others in this thread, but if you think this issue is still valid and needs to be tracked, please open a new issue with a repro.