appandflow / appandflow/react-navigation-bottom-sheet

A property "headerShown" is NOT controlling the screen header visibility

Offen
#10 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
496
Forks
24
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hello!

In my React Native app, I use some complex navigation logic, as follows:
```txt
Navigation container
└── Root navigator

│── Bottom-sheet navigator

├── Bottom-Tab navigator
```

As you see, the bottom-sheet navigator is wraped inside Root navigator which is of type [native-stack](https://reactnavigation.org/docs/native-stack-navigator/).

Now the issue in code is : When I use Bottom-sheet navigator a screen inside Root navigator, and set `headerShow` as follows:
```jsx

```
When I run the app, I notice the existence of a default text "GlobalBottomSheet" as header on top of some screens (screens wrapped inside the bottom-sheet navigator.

Note: When I set the `headerTitle=" "` , it disappears, but I see that it becomes a space.

What I need is: Please verify the property ``headerShown`` and how it works.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.