Skip to main content
h.rude
April 26, 2021

Allow Hover AND Click together

  • April 26, 2021
  • 137 replies
  • 72013 views

With the interactive components, a variant can now have a tooltip. But unfortunately hover and clickactions are still mutual exclusive.
I’m designing for a desktop application and having a tooltip per inputelement/button is crucial.

137 replies

James_Lytle
October 27, 2021

With the general release of interactive components today, I was excited to give it a try. As you can imagine after trying the most basic useful thing I could imagine…I found my way to this support thread. Is it really true that a click on my button component can’t proceed to frame 2?? Is this possible?

Jean-Luc_LE_MOAL
December 10, 2021

Works perfect 👍

DesignedByPaul
February 22, 2022

Having this problem as well. Any workaround?

Milovanov_Dmitry
February 23, 2022

Thanks for this one! ❤️

Phil_V
March 7, 2022

I have this issue as well.

I completely agree. Is there a technical reason why this isn’t possible ?

mattaningram
New Participant
April 5, 2022

I completely agree. Is there a technical reason why this isn’t possible ?

Yeah, the way Figma does component variants the variant you are switching to on hover is considered a different item entirely, it is not just a modification of the original variant (the way it works in HTML/CSS for example). So when you click on a hovered item you are clicking on the hover variant, not the original one. This means the click action needs to go on the hover variant.

In general this is the way Figma does everything, styles and items aren’t actually changing, they are being swapped out or layered on top of each other. Smart animate can add a transition between these states, but the new state is still considered an entirely separate item/component.

Phil_V
April 5, 2022

I see.

Creating components then adding hover variants to them works well in the end. That was my solution to this issue 😁

Alex_Webb
April 6, 2022

Is there still no solution for this? Was wanting to have a dropdown menu item change color on click.

h.rude
h.rudeAuthor
April 7, 2022

I actually think that the scenario above should be doable with current figma functions. You’d need to create a “hover” and a “pressed” state in the variant. You should than have the color change in your prototypes.

Baptiste_Deroche
April 8, 2022

Thank you! Your clip helped me a lot.