IjzerenHein / IjzerenHein/react-navigation-shared-element

Group property doesn't include in stack navigator

Open
#210 5 comments 7 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.3k
Forks
125
PR merge metrics
No merged PRs in 30d

Description

The `Group` property doesn't include in the `RootStack` created by `createSharedElementStackNavigator`. In react-navigation 6 I have to use `RootStack.Group` tag to use a modal. When I check the types and it's only include `Navigator` and `Screen` property, not `Group` property.

``` js

const RootStack = createSharedElementStackNavigator();
.
.
.
return (

/**
Group property doesn't exist and shows "Couldn't find any screens for the navigator.
Have you defined any screens as it's children?" error message
*/


```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at createSharedElementStackNavigator and inspect the returned navigator types and its React Navigation 6 compatibility. Compare the exposed Navigator and Screen properties with the required Group usage; done means RootStack.Group is available and the reported navigator error no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.