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

What is Framer? Join the Community
Return to index
Santi Allende
Posted Nov 16 - Read on Facebook

Hey all! Can't quite figure out how to implement scroll.updateContent(). This is what my code looks like...

scroll = new ScrollComponent
width: Screen.width
height: Screen.height
scroll.scrollHorizontal = false
scroll.updateContent()

$.dayViewDash.superLayer = scroll.content
$.annaFreudExpanded.superLayer = scroll.content
$.sessionLogistics.superLayer = scroll.content
$.currentProblems.superLayer = scroll.content

The error is that each layer scrolls to the height of the tallest layer...