Skip to main content
Solved

Interactive buttons and snackbar

  • March 13, 2025
  • 1 reply
  • 174 views

Artem Shamli

Hello everyone, I need help solving a problem. I created an adaptive button using variants and connected them with “On Click.” I need the overlay with the message “Item added to wishlist” to appear when clicking the “+” button, and at the same time, the “➕” should change to “✔️.” However, this doesn’t work as expected. I understand that the issue is that the button can’t respond to two different triggers at the same time, but I don’t know how to solve this problem

Here’s the link to the video 

https://vimeo.com/1065208370/39863f818c

 

Best answer by Nate_G

@Artem Shamli It may be a little more advanced than you are needing, but here is an example where I use variables + conditionals to change the button state and bring in the snackbar message. This allows you to add or remove something from a wishlist.

View Figma File >
View Prototype Example >

 


 

View original

1 reply

Nate_G
  • Power Member
  • 178 replies
  • Answer
  • March 13, 2025

@Artem Shamli It may be a little more advanced than you are needing, but here is an example where I use variables + conditionals to change the button state and bring in the snackbar message. This allows you to add or remove something from a wishlist.

View Figma File >
View Prototype Example >

 


 


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