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

IPhone X resizing #31

Open
alexbalda opened this issue Jul 3, 2018 · 0 comments
Open

IPhone X resizing #31

alexbalda opened this issue Jul 3, 2018 · 0 comments

Comments

@alexbalda
Copy link

alexbalda commented Jul 3, 2018

Hi, I am having some trouble with iPhone X resizing. The minimal ui is invoked correctly, but the brim-main element is not resized accordingly, so I am left with a chunk of blank space where the bottom nav bar was previously located. It is worth noting that this only happens on initial load, so if I go to landscape and back to portrait, the resizing is done correctly regardless of how many times the minimal ui is invoked.

I'm passing the width configuration as shown below.

const scream = Scream({
   width: {
	portrait: screen.width,
	landscape: screen.height
   }
});

Would highly appreciate any help. Thanks!

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