Skip to content
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

Screen content shifts when notification appears during ios in-call status #21

Open
lukecyca opened this issue Nov 16, 2018 · 0 comments

Comments

@lukecyca
Copy link

A standard iOS status bar is 20px in height, so most apps have a 20px top spacer to compensate.

When the iOS in-call status is active, the status bar is effectively 40px in height, but iOS just shrinks the entire viewport to make room for the additional 20px. So the application doesn't have to, for example, increase its padding to 40px.

When react-native-in-app-notification hides the status bar for a few seconds while showing an alert, the shrunken viewport expands by 20px back to its default.

This causes the entire layout to shift when a notification is received, and then shift back when it disappears. This only occurs when the in-call status is active.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant