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

What is Framer? Join the Community
Return to index
Jon Madison
Posted Jul 27 - Read on Facebook

I cannot repro this one -- but has anyone witnessed their designs suddenly shrinking (by a factor of 2, or * 0.5) upon reload in the viewport, and staying that way for some unspecified time, in which case it grows back again to it's expected size?

i have no idea what's going on here. I'm even printing the width of the layer and it's saying 375, my iphone 7 port reads 375x667, yet visibly not stretching across the whole viewport.

I have no idea how to fix it, it seems to fix itself after lord knows when. (a restart, and a removal of framer.generated.js don't work)

please make it stop


Jonas Treub

Were you switching from retina to a non retina screen?

Jon Madison

This one weird (and annoying) fix. I added:

Utils.scaleFrames(Framer.CurrentContext.layers, 2)
reloaded project, then added
Utils.scaleFrames(Framer.CurrentContext.layers, 1)
reloaded project

then i can now take away the
Utils.scaleFrames(Framer.CurrentContext.layers, 1)

line again. :/

Read the entire post on Facebook