-
Notifications
You must be signed in to change notification settings - Fork 37
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
Couldn't hide header with headerShown
with some specific device
#294
Comments
Hey, This library doesn't (yet) support headers. So it's most likely that the issue comes from somewhere else. |
@okwasniewski I did workaround like this
|
This seems like it's related to your project specifically. It looks like your screen is wrapped with a navigation controller that sets it. Maybe it's a NativeStack from React native screens that's causing this?
|
@okwasniewski I did set |
Can you provide a reproduction where this issue happens outside of your app in an isolated environment? |
I think there is definitely something weird going on. I'm using bottom-tabs and it does add something extra. Take a look at this video https://imgur.com/a/kPC9W2l My root navigator is bottom-tabs with stack navigators inside. The stack navigator (expo router) has a custom header. The header has a BlurView (expo-blur) which doesn't render properly on the first render. If I disable blur and turn it back on, on the next render, it starts working properly. Also works if I change some properties or styles on the BlurView, forcing it to rerender. In the second part of the video, I navigate to In the third part of the video, I replace GitHub repo in case you wanna look at what's up. If you want, I can try creating an empty app with a similar structure as mine to help you reproduce? |
Actually I face exactly the same issue on iPhone SE (first one) on iOS 15. EDIT: EDIT 2: I can also try to setup repro with similar nav structure if it helps debugging. |
@emzet93 Thanks for looking into this. Repro would be very helpful! |
Before submitting a new issue
Bug summary
Code
Result
Library version
0.8.6
Environment info
Steps to reproduce
Just add tab navigator with custom
tabBar
andheaderShown
is falseReproducible sample code
The text was updated successfully, but these errors were encountered: