Skip to main content
Solved

Overlay swapping issue?

  • January 26, 2021
  • 7 replies
  • 700 views

BorojiDesignInc

Video Explanation of overlay swapping issue: πŸ‘‡
Video Explanation of the issue

Here is the Figma prototype link: πŸ‘‡
Prototype Link

Best answer by Shaunak

I ran into the exact same thing today 😁
The explanation is that your dropdown menu is also an overlay, and you essentially swap that overlay instead of the one opened before.

My solution is not elegant, but it worked:
I created an overlay with the dropdown menu inside it and linked them to swap on click. So that swapped the right overlay.

View original

7 replies

Shaunak
  • 11 replies
  • Answer
  • January 26, 2021

I ran into the exact same thing today 😁
The explanation is that your dropdown menu is also an overlay, and you essentially swap that overlay instead of the one opened before.

My solution is not elegant, but it worked:
I created an overlay with the dropdown menu inside it and linked them to swap on click. So that swapped the right overlay.


BorojiDesignInc

HAHA that is a a great way to solve this issue. I guess I have to nest my dropdown inside my overlay so it doesn’t act weird like this.

Thank you so much for tip, saved me a lot of time πŸ˜„


Steven
  • 122 replies
  • January 27, 2021

Hey @BorojiDesignInc, please don’t forget to mark the concern as resolve with the good answer ✌🏾


BorojiDesignInc

Hey @Steven , the concern is temporarily resolved but it is not a complete solution. We are achieving the same result in a hacky way. That’s why I wanted Figma to be aware of this weird dropdown overlay behavior.

Thank you,


Steven
  • 122 replies
  • January 27, 2021

The concern is solved, but you wish Figma offered a better way. I think the best thing to do here is to conclude this topic and create a product ideas category topic for it.


Gleb
  • Power Member
  • 4706 replies
  • January 27, 2021

@BorojiDesignInc I agree with @Steven here, I think this current issue is solved. If you want a more solid solution included in Figma natively, you can create a post and describe your suggestion in the #product-ideas category so people can vote for it and Figma team could eventually find it.


BorojiDesignInc

I marked @Shaunak answer is resolved. I will bring this issue to new product idea πŸ˜„


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