This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Jai Mitchell
Posted Jun 20 - Read on Facebook

Am I doing something wrong? Using Framer.Device.screen.width returns the device width in retina equivalent pixels (i.e. 640 for iPhone 5 preview), but my prototype seems to be set in non-retina pixels (i.e. a 320 wide layer will fill the screen)???


Riccardo Buzzotta

What if you use only Screen.width?

Jai Mitchell

Haha, okay. That works. Thanks!

Jai Mitchell

I don't know where I got my more complicated version from

Jonas Treub

It's the capital S in Screen that's important. With a lowercase s it's returning the real screen size and with a capital it returns the Framer defined one.

Read the entire post on Facebook