Skip to main content
Solved

Change on click state to default

  • October 27, 2023
  • 2 replies
  • 1171 views

olayinkapinmo

Hello there,
I am currently working on a drop-down menu that has both hover and click triggers. Everything else works fine except I would like the previously clicked component to change back to its normal state once I click on another component in the drop-down.


Best answer by Nate_G

@olayinkapinmo Make sure to check “Reset Component State” when you go between the collapsed and expanded states of your dropdown.

I created an example file and prototype a while back on one way to set up a dropdown with selected states.

View original
This topic has been closed for comments

2 replies

Nate_G
  • Power Member
  • 180 replies
  • Answer
  • October 27, 2023

@olayinkapinmo Make sure to check “Reset Component State” when you go between the collapsed and expanded states of your dropdown.

I created an example file and prototype a while back on one way to set up a dropdown with selected states.


olayinkapinmo

Thank you. Works perfectly


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