TAP and HOVER doesn't work together

#1

Have you searched the Docs and Knowledge base?
Principle Version:
macOS Version:
Sketch Version:
Description of what you need help with:

Steps to reproduce the behavior:

  1. Here’s a button, that I want it to be animated in a 2 different ways:
  • HOVER INSIDE - > button changes the color
    (-HOVER OUTSIDE - action back
  • TAP (need to be pressed) - > button changes the color to another one
  1. HOVER is working, but TAPing doesn’t work completely.
    3.Could anybody give me an advice?

Screenshots/Sketch File/Principle file: (if applicable)

0 Likes

#2

Did you set up a trigger from the hover state using a tap action?

0 Likes

#3

No, I set up the tap action on the ordinary button’s state. But before Tap action I have applied 2 actions: hover In and Hover out, so in this case I supposed that I should apply the tap action on the standard (none) state.

0 Likes

#4

Yeah, just add another trigger (TAP) on the hover screen, to the desired screen state.

0 Likes

#5

Something like this

button-touch

0 Likes