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

What is Framer? Join the Community
Return to index
Marty Moore
Posted May 14 - Read on Facebook

Is there a way to control the bounce or momentum of the (awesome) scroll component? I have a prototype where I would love to turn off bounce (or dampen it) in a scroll view. Also, the momentum makes the scroll.ScrollX and .ScrollY attributes very difficult to use - it only returns the value BEFORE the momentum is finished (at least as far as I can tell). Thanks!

8 Comments

Joshua Tucker

Bump (deleted my post with similar question posted about 20 minutes ago). :).

Joshua Tucker

Jordan Robert Dobson Modifying bounce/momentum directly on a ScrollComponent makes it go bonkers (in my experience). This is different than a layer's bounce/momentum (in terms of new Layer, not new ScrollComponent).

Jordan Robert Dobson

For the last question I believe you want Events.ScrollAnimationDidEnd listed under: http://framerjs.com/docs/#events.events

Jordan Robert Dobson

Thanks Joshua - Sorry you want to set it on the content layer and not the component... Sorry I didn't really specify.

See: http://framerjs.com/docs/#scroll.wrap

Joshua Tucker

Jordan Robert Dobson Oh interesting. My situation is adding layers created inside Framer into the ScrollComponent via superLayer: scrollComponent.content, not via imported layers. So I could change properties say on scrollComponent.content? Not at my computer currently but I'll try this when I am.

Marty Moore

THANK YOU! I didn't realize that scroll.content was a constant (the example included made it seem like a variable) - scroll.content.draggable is exactly what I was looking for!

Joshua Tucker

Marty Moore Oh good! I hadn't had a chance to test yet. Good news, cheers!

Read the entire post on Facebook