koenbok / Framer

Framer - Design Everything
https://framer.com
MIT License
5.84k stars 479 forks source link

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

Open akheheh opened 6 years ago

akheheh commented 6 years ago

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