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

What is Framer? Join the Community
Return to index
Andrew Manthei
Posted Aug 21 - Read on Facebook

Hi gang, first post here...

I have what's probably a super basic question. I have a flow component that pops up a modal. I want the modal to be two steps. The second modal stretches to the screen size (should be the same size as modal 1). How do I control the size of modal 2?


Derek Nguyen

I think when you use `flow.showNext(layer)`, `layer` will be stretched to the size of the flow component regardless what size it is originally. I think you can fix it by calling `flow.showOverlayCenter(modal2)` again instead of `showNext()`. You might want to call 'flow.showPrevious()' right before that to remove the first modal. so do like
no_btn.onClick ->


Read the entire post on Facebook