Skip to main content
Solved

Menu Button Interaction

  • October 2, 2024
  • 1 reply
  • 45 views

Austin12

Hey everyone, pretty new to Figma and I can’t seem to figure this out. I’m trying to create a menu sidebar that slides over when I press my menu button. I have my button and sidebar in a component and I can get the sidebar to appear when I press the menu button using changeTo. The problem I’m having is that no matter how I arrange the sidebar in the component box, when I run my prototype, the sidebar appears right where the button is in my frame. Is there a way to set where the sidebar will appear using changeTo? Thanks!

Best answer by Luke-Itineris

Don’t use changeTo. Just use overlay.

So your button triggers an overlay which is set to top right, and closed upon clicking outside of it.

View original
This topic has been closed for replies.

Luke-Itineris

Don’t use changeTo. Just use overlay.

So your button triggers an overlay which is set to top right, and closed upon clicking outside of it.


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