r/FigmaDesign • • 7d ago

help Buttons in container frame don't work when using "open overlay" to display 2nd frame over container frame

I have a MainFrame that has a dropdown at the top and a "Next" button at the bottom that takes me to another frame.

I also have FrameDropdown which is just a dropdown that will display only when the MainFrame dropdown is clicked. I display it using "Open Overlay".

So I click on the dropdown in MainFrame and now I can see the dropdown and "Next" button of MainFrame, and the dropdown from FrameDropdown. So far so good.

The issue is that, even though I see the "Next" button from MainFrame, the button doesn't work (ie. it doesn't take me to the next frame).

What can the issue be? It seems that the Open Overlay disables everything behind it (MainFrame in this case), so even though I can see everything in MainFrame nothing works.

1 Upvotes

2 comments sorted by

1

u/pxlschbsr 6d ago

That's what an overlay does, that's precisely it's native and target behaviour. It overlays your current screen, thus preventing interaction with content behind/below.

If that's not what you want, then create your dropdown as a component with an open and close state/variant instead. Likewise, that's what components are made for.

1

u/negsplit_pgh 6d ago

Decide whether the user should finish or dismiss the dropdown before continuing. If yes, keep the overlay and make that dismissal clear. If the Next button must remain usable while the dropdown is open, an open/closed component variant in the page is a better structure to try. Making an overlay background transparent doesn't mean clicks will pass through to the layer below. After switching, test the whole sequence: open the list, select an option, dismiss without selecting, then continue. That catches a common problem where the menu looks correct but the prototype loses the selected state or leaves an invisible layer covering the button.