Drawer Navigation stops working on Android (dependent on users actions)

4
closed
markl-vesper
markl-vesper
Posted 1 month ago

Drawer Navigation stops working on Android (dependent on users actions) #10048

Current behavior

Android user clicks on banner and completes payment details and returns to Account Dashboard screen and drawer no longer works. Can open and close but no selections take place.

If the user navigates to the same screen via the drawer options then everything is fine.

Have found it quite hard to setup a functional snack due to the libraries we use, but happy to supply a suitable apk with login credentials if required

GIST with nav structure => https://gist.github.com/markl-vesper/30d150f2d33900686da6c06c920f4381

https://user-images.githubusercontent.com/41560338/137235998-c263797e-dfab-4702-979c-3270b8e099dc.mov

Expected behavior

iOS user performs same navigation steps and all works fine afterwards

https://user-images.githubusercontent.com/41560338/137236348-f4ac799f-8eec-4975-bc57-893ca61422a3.mov

Reproduction

very hards to reproduce so happy to provide apk and login details

Platform

  • Android
  • iOS
  • Web
  • Windows
  • MacOS

Packages

Environment

package version
@react-navigation/native 6.0.2
@react-navigation/drawer 6.1.4
@react-navigation/native-stack 6.1.0
react-native-safe-area-context 3.3.0
react-native-screens 3.6.0
react-native-gesture-handler 1.10.3
react-native-reanimated 2.2.2
react-native 0.65.1
node 12.13.0
npm or yarn 1.22.11
github-actions[bot]
github-actions[bot]
Created 1 month ago

Hey! Thanks for opening the issue. The issue doesn't seem to contain a link to a repro (a snack.expo.dev link or link to a GitHub repo under your username).

Can you provide a minimal repro which demonstrates the issue? A repro will help us debug the issue faster. Please try to keep the repro as small as possible and make sure that we can run it without additional setup.

github-actions[bot]
github-actions[bot]
Created 1 month ago

Couldn't find version numbers for the following packages in the issue:

  • @react-navigation/bottom-tabs
  • @react-navigation/material-bottom-tabs
  • @react-navigation/material-top-tabs
  • @react-navigation/stack

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:

  • @react-navigation/native (found: 6.0.2, latest: 6.0.6)
  • @react-navigation/drawer (found: 6.1.4, latest: 6.1.8)

Can you verify that the issue still exists after upgrading to the latest versions of these packages?

markl-vesper
markl-vesper
Created 1 month ago

Those packages are unused in this project

I can confirm the latest versions do not help the issue

github-actions[bot]
github-actions[bot]
Created 2 weeks ago

Hello 👋, this issue has been open for more than a month without a repro or any activity. If the issue is still present in the latest version, please provide a repro or leave a comment within 7 days to keep it open, otherwise it will be closed automatically. If you found a solution or workaround for the issue, please comment here for others to find. If this issue is critical for you, please consider sending a pull request to fix it.