Skip to main content
Question

Scroll To that also changes the state of a button or nav


Perre

The buttons used in Figma’s online demos and prototype examples are either rectangles, text objects, or a simplified component with no interactivity.

That’s different from everyday prototyping when you’ve already built buttons and nav bars with interactivity.

We’re trying to Scroll To using a navigation bar or another button with states so a Scrolls while also respecting the button’s state change from “active” to “selected”.

When there are two On Clicks on a prototype, I can trigger the behavior of one or another. Not both. If I use an On Click and a Mouse Up/Down, same failure. One always kills off the other.

Could someone point to a demo that changes both a button’s state AND scroll to simultaneously (or after a delay)?

This topic has been closed for replies.

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