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

View shifts down and breaks when StatusBar changes size (not compensating for enlarged StatusBar) #871

Closed
soheil opened this Issue Apr 16, 2015 · 2 comments

Comments

Projects
None yet
3 participants
@soheil

soheil commented Apr 16, 2015

When using apps that make the StatusBar bigger (Maps during direction mode, Phone app during calls) and going back to my app the view doesn't update to compensate for the enlarged StatusBar and everything gets pushed down. This completely breaks things like TabBar.

broken:
img_3629

normal:
img_3630

@soheil

This comment has been minimized.

Show comment
Hide comment
@soheil

soheil Apr 23, 2015

I found wrapping everything in this fixes this issue:

      <View style={{flex: 0, height: require('Dimensions').get('window').height}}>

soheil commented Apr 23, 2015

I found wrapping everything in this fixes this issue:

      <View style={{flex: 0, height: require('Dimensions').get('window').height}}>
@brentvatne

This comment has been minimized.

Show comment
Hide comment
@brentvatne

brentvatne Apr 23, 2015

Collaborator

😄 nice!

Collaborator

brentvatne commented Apr 23, 2015

😄 nice!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.