Open ghost opened 4 years ago
Wait for response ...
Have you figured it out yet?
Any update ?
I think I figured out the problem. It has to do with the header displaying for some reason after the orientation changes. Just add headerMode: 'none' to your stack navigator or to the specific screen where you call lockToLandscape
Thank you, There is no header for me
@muhammadwafa I also encountered this problem, did you solve it?
@romarybintsev Not that problem
@romarybintsev thank you for head navigation Is caused by this head navigation of click and jump
Previous page SettingsScreen.navigationOptions = ({ navigation, ...other }) => { // const info = navigation.getParam('pageInfo') || {}; return { header: null,
headerMode: 'none' works. This could be closed I think.
I dont have any header, my header is null, and my app is without header
Very strange, my Header is null and the white area continues ;/
EDIT: headerMode: 'screen', works
same issue, but none of them works for me.
same issue, but none of them works for me.
headerMode: 'none' works for me :P
I don't think this issue is related to react-navigation
, so headerMode: 'none'
or 'screen'
will not work.
This issue happens even when using just a single View
and switching to landscape on devices with a camera notch in the screen.
@maximilize any solution for this issues?
@manglesh-oodles With the lib https://www.npmjs.com/package/react-native-system-navigation-bar you have some more flexibility. We currently use both libs for our project.
May I ask if this problem has been solved? Now I have also encountered this problem
The above modification to HeaderMode: "none" doesn't work for me
I don't think this issue is related to
react-navigation
, soheaderMode: 'none'
or'screen'
will not work.This issue happens even when using just a single
View
and switching to landscape on devices with a camera notch in the screen.
That's what I was thinking. I had the same problem
When I
lockToLandscape
a white blank space gets display which is not a good experience. And also how to make a smooth transition whenorientation
changes