Skip to main content
Question

How to handle multiple overlays properly?

  • February 11, 2021
  • 1 reply
  • 3759 views

Julian_Finn

I’m new to Figma, currently teaching myself how to use the tool.
I have the following situation:
I have a main page. In that main page i have an icon which opens an overlay. Lets call this overlay “grandparent-overlay” for reasons that will become obvious in a second.
This overlay has a search bar. And on-click a make-believe “type ahead search results” dropdown opens as another overlay. Lets call this one “parent overlay”.
Now for design reasons i want a hover effect on these search results. So i have a third overlay, “Child-Overlay”.
Now what I would like to have, is that when I click on “child overlay”, it closes “Parent overlay” and changes “Grandparent overlay”.
I know this doesn’t work, but is there any way I can fake the whole situation? I don’t seem to be able to manipulate a “parent” from within a current overlay. I can overlay that parent, but then i can’t close “both” anymore. Would I just have to work with completely new frames and variants of the main page?
Here’s a link to what it looks like. The plus icon at the bottom starts it all.

Figma – 9 Feb 21

Thanks so much in advance!

1 reply

Steven
  • 122 replies
  • March 1, 2021

Now you can reduce your use of Overlay with Interactive components especially for trigger effect like onHover, OnClick


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings