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

What is Framer? Join the Community
Return to index
Sergey Yashchuk
Posted Oct 07 - Read on Facebook

Happy Monday!

I'm trying to figure out why my scroll component not scrolling all the way down when using Framer.Device.contentScale = 2.

I created a canvas with a web page (1440 width) to show parallax behaviour. Added scroll component and inserted content inside it. Everything was working good. But then I decided to put this prototype inside MacBook pro. So I added content scale. Now everything seems to be working but content does not scroll all the way down.

Here is an example of what I'm talking about:
http://share.framerjs.com/gr19zj9km913/

Can anyone tell what I'm doing wrong?
Thanks!

1 Comments

Eelco Lempsink

Hey Sergey, the Screen does not take the contentScale into account, so you’ll need to do your own calculations if you base other sizes on it: http://share.framerjs.com/vxucxn78i42b/

(The ScrollComponent was twice as tall and wide as you thought.) I think this is unintuitive though, I made a ticket for us to investigate if we can change this behavior.

Read the entire post on Facebook