T
T
TamirPgrogramir2021-03-18 14:35:05
React Native
TamirPgrogramir, 2021-03-18 14:35:05

StatusBar wrong height in React Native, how to fix?

60533b5a960bd674440464.jpegI changed the Androyd device emulator, as there were bugs with it in the form of a crash with an error, but that's not the point.
At the beginning, everything was normal, Then a black bar appeared above the view, as I understood it, for some reason it was the StatusBar that decided that it should become larger !!!
Device: Pixel 4
At first I thought that the problem is with React Navigation, But there are components that are rendered outside of the Navigation,
But the navigation is complex, deeply nested, can this affect?
I don’t even see the point in throwing off pieces of code, since there’s just StatusBar and barStyle Default.
There is no such problem on IOS, everything works adequately there, I tried to hide the status bar in general, but it also didn’t help, Help Pliz, HABRAVCHANES!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kirill Makarov, 2021-04-29
@kirbi1996

Maybe it's not the status of the bar, but in the native header from the navigation. Should I hide it?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question