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

What is Framer? Join the Community
Return to index
Nick Bewley
Posted Apr 04 - Read on Facebook

Working on a scroll Interaction, but updateContent() is not working as expected..

I want to update scroll.content height after animating.. Tried this:

@states.next()
@on Events.StateDidSwitch, ->
---- scroll.updateContent()

But doesn't work as expected. Anyone faced this problem? Thanks for any ideas. (also tried @on Events.AnimationEnd..)

http://share.framerjs.com/azbauovs8ld6/

2 Comments

Fran Pérez

Try setting the height of the scroll component to just Screen.height :)

Nick Bewley

Thanks!

Read the entire post on Facebook