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

Browser Device Preview Properties And Actual Device Properties Do Not Match #570

Open
akheheh opened this issue Feb 27, 2018 · 0 comments
Open

Comments

@akheheh
Copy link

akheheh commented Feb 27, 2018

I seem to be getting a scaling issue when viewing my prototypes on my actual device.
The content rendered on the browser preview is just fine, but when viewing on my actual device, things aren't scaled properly. I'm testing on an iPhone 6s Plus using the iPhone 8 Plus device type.

I outputted the widths of both the line and the screen. On the browser: line is 350, device screen is 414. However, on my actual device, the line is 350 while the screen 276. Can anyone give me an idea how to fix this?

Browser Device Render

screen shot 2018-02-27 at 8 28 38 am

Actual Device Render (with output)

img_6996

Browser Device Output

img_6997 jpg

Code

screen shot 2018-02-27 at 8 33 18 am

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