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

Not working when nested inside Drawer navigator and Tab navigator #249

Open
marekStef opened this issue Aug 11, 2022 · 4 comments
Open

Not working when nested inside Drawer navigator and Tab navigator #249

marekStef opened this issue Aug 11, 2022 · 4 comments

Comments

@marekStef
Copy link

I do have more advanced app with the following structure:

- Drawer Navigator
     - Other Navigators...
     - Tab Navigator
            - Stack Navigator 1
            - Stack Navigator 2
            - Stack Navigator 3

In Stack Navigator 3 I do have multiple screens.

What I am trying to achieve is a gallery ( photos in a grid with opening transition similar to that of apple photos or Google photos app ). GridScreen and Screen for the specific image are both in one Navigator.

The problem is that when I exchange the Stack navigator 3 from react navigation for stack navigator from react-navigation-shared-elements and press on the photo, the app freezes with no error messages nowhere to be seen.

I presume react-navigation-shared-elements only works with more basic structure? Does anyone know or is this a bug?

"react-native-reanimated": "~2.8.0"
"react-native-shared-element": "0.8.4",
"react-navigation-shared-element": "^3.1.3",
"react": "17.0.2",
"expo": "~45.0.0",
@drewbietron
Copy link

I am experiencing this as well. I have a tab navigator, each that renders their own stack navigator. Not sure what the error is, as the app just freezes as posted above. Did you ever figure anything out with this @marekStef?

@p-syche
Copy link
Collaborator

p-syche commented Jan 26, 2023

Hello @marekStef , @drewbietron

Could you provide a minimal repro or an Expo snack with this issue? Thank you!

@nateshmbhat
Copy link

same issue :/

@paul12p-pichincha
Copy link

any update?

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

No branches or pull requests

5 participants