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

Drawer Toggle-Icon not visible in React-Native app inside NX-Monorepo #11016

Closed
3 of 12 tasks
therawk opened this issue Nov 19, 2022 · 2 comments
Closed
3 of 12 tasks

Drawer Toggle-Icon not visible in React-Native app inside NX-Monorepo #11016

therawk opened this issue Nov 19, 2022 · 2 comments

Comments

@therawk
Copy link

therawk commented Nov 19, 2022

Current behavior

The default drawer toggle icon isn't visible. The margins, width and height settings are applied and also opening the drawer works.
Tint colour also doesn't make a difference.

Information to running the project:
Since the metro packager sometimes crashes I recommend running it in a seperate terminal window.
Start it with npx nx start optionally npx nx start --reset-cache
So when it crashes during compilation you can just restart it again.

In another terminal run npx nx run-android --active-arch-only

Screenshot_20221119-130750
Screenshot_20221119-130746

Expected behavior

Drawer toggle icon is visible

Reproduction

https://github.com/therawk/react-navigation-issue

Platform

  • Android
  • iOS
  • Web
  • Windows
  • MacOS

Packages

  • @react-navigation/​bottom-tabs
  • @react-navigation/​drawer
  • @react-navigation/​material-bottom-tabs
  • @react-navigation/​material-top-tabs
  • @react-navigation/​stack
  • @react-navigation/​native-stack

Environment

  • I've removed the packages that I don't use
package version
@react-navigation/native 6.0.13
@react-navigation/drawer 6.5.0
react-native-safe-area-context 4.4.1
react-native-screens 3.18.2
react-native-gesture-handler 2.8.0
react-native-reanimated 2.13.0
react-native 0.70.1
node 16.17.0
npm 8.15.0
@satya164
Copy link
Member

It's a metro bug, unrelated to React Navigation. You can workaround it similar to this:

enhanceMiddleware: (middleware) => {

@github-actions
Copy link

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.

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

2 participants