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

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

Hi folks! I'm fairly new to Framer and absolutely loving it so far! Have a silly question, though: is there a way to dismiss a Flow overlay panel from the code? Here's what I use to display it:

sketch.ShowNavButton.onClick ->
flow.showOverlayRight(sketch.NavPanel)

The issue I have is that after navigating to a view that is triggered from the NavPanel and then coming back, the overlay is still visible.

2 Comments

Jordan Robert Dobson

You can always do flow.overlay.visible = false

Santiago Seira

an overlay is basically a new page so you can do flow.showPrevious() to dismiss the overlay

Read the entire post on Facebook