Can an interactive component have 2 click actions?

I have a button, implemented as an interactive component, that visibly changes state when clicked.

When a user taps an instance of the button, I also want an overlay to appear. So, 2 things need to happen when it’s tapped: (1) the button changes state, and (2) the overlay appears.

But Figma doesn’t allow allow this. I get “This interaction will not be triggered as interactions on instances are triggered before inherited internal interactions”.

What do I need to do if I want the button to both change state, and trigger an overlay?


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.