react-native-in-app-notification icon indicating copy to clipboard operation
react-native-in-app-notification copied to clipboard

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

Open lukecyca opened this issue 5 years ago • 0 comments

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.

lukecyca avatar Nov 16 '18 05:11 lukecyca