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

What is Framer? Join the Community
Return to index
Patrick McLean
Posted Oct 16 - Read on Facebook

hi all! i'm having a hard time wrapping my brain around scroll components.

let's say i have a ScrollComponent that is 500px tall wrapped around content that is also 500px tall. then i run an animation, and the content changes to 600px tall. how do i make the ScrollComponent adapt? changing it's height to 600px after the animation doesn't do it—the bottom 100px of the content cannot be scrolled to. any ideas?

2 Comments

Arron J Hunt

myScrollComponent.updateContent()
http://framerjs.com/docs/#scroll.updateContent

Patrick McLean

nice thanks

Read the entire post on Facebook