Open knowbody opened 6 years ago
Probably need to move it to a different container. Let me take a look.
Is this something what I should be able to do or should I just provide my own center component?
We can expose a tintColor
property to make it possible to change the color of all the built-in components by default. Might be quite handy to tweak the appearance of the back button and others.
^ @satya164
I don't think @satya164 accepted the invitation to this project
I have several nested stack navigators. For most of them, since we cannot remove headers I'm hiding them via styles in Android. Unfortunately I get a stack of headers in iOS since there's apparently no current way to hide them. Does anyone know of a workaround to control when headers should appear in iOS?
That's an interesting use-case. I think it might be supported via custom headerComponent
(provide something that renders empty View), but I am not sure if marginTop
is not hardcoded.
We should definitely implement an easy way to use nested stack navigators and fix that thing on iOS.
Thanks for the report, we will look into that this week.
It seems like the styles are not being applied to the built-in
Header
.I tried something like this:
this works on Android though, but while testing I also discovered I cannot change the title color. Is this something what I should be able to do or should I just provide my own
center
component?