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

What is Framer? Join the Community
Return to index
Sophie Brenny
Posted Jul 26 - Read on Facebook

Hey all, I am new to framer and am having trouble with changing screens on click. I am sure it is a small mistake somewhere but I can't seem to figure it out. When a user clicks on a picture of “anne” on the “home” page I want it to lead to a new artboard. But for some reason the new screen is appearing behind the scroll of the home page instead of over it. Any advice? This is my code:
flow = new FlowComponent
flow.showNext(Home)

#message alert screen
ANNE.onTap ->
flow.showNext(Message_Alert)

scrollbar.draggable.enabled = true
scrollbar.draggable.horizontal = true
scrollbar.draggable.vertical = false
scrollbar.draggable.constraints =
y: 0
x: 0
scroll = new ScrollComponent
size: 1050
scrollbar.parent = scroll.content
scroll.scrollHorizontal = true
scroll.scrollVertical = false