Control State Via an Interaction

It would be nice if we could set the state of an element based on a certain interaction.

 

For example, I have a search icon that opens up a search bar when clicked.  It'd be nice if I could automatically have the cursor place in the search input field at the same time.

  • Moshe Morris
  • Oct 28 2018
  • Reviewed