Skip to content

Commit 7ff18f2

Browse files
sahrensfacebook-github-bot
authored andcommitted
Fix Warning/Yellow Box so it does not mess up app layout when opened.
Reviewed By: fkgozali Differential Revision: D4808601 fbshipit-source-id: c15a7aa4514ea21798ceabca075189478596e0a2
1 parent 9075fe0 commit 7ff18f2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Libraries/ReactNative/YellowBox.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,9 @@ const elevation = Platform.OS === 'android' ? Number.MAX_SAFE_INTEGER : undefine
403403
var styles = StyleSheet.create({
404404
fullScreen: {
405405
height: '100%',
406-
elevation: elevation
406+
width: '100%',
407+
elevation: elevation,
408+
position: 'absolute',
407409
},
408410
inspector: {
409411
backgroundColor: backgroundColor(0.95),

0 commit comments

Comments
 (0)