appandflow / appandflow/react-navigation-bottom-sheet

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

未關閉
#10 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
496
分支
24
PR 合併指標
30 天內沒有已合併 PR

描述

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.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。