Skip to main content
Question

Checkboxes with Hover - Uncheck not possible


h.rude

Hi, I’m doing Product Design for Desktop Applications and I was really looking forward to this release! Finally.

I’m not sure if I do something wrong or if this is a bug.
I have checkboxes with a hoverstate.
So, right now I’ve connected them as follows:
CHECK
grey-empty checkbox goes while hovering to blue empty checkbox.
blue-empty checkbox goes by click to the grey checked-checkbox.
UNCHECK
the grey checked-checkbox goes to blue checked-chedkbox while hovering.
the blue checked-checkbox goes by click to the grey empty-checkbox.

The CHECK part works, but not the UNCHECK part.

10 replies

James_Mitchell

Your image doesn’t seem to match your description - you would need 4 lines to achieve hover and click between 2 states (checked/unchecked).

But I might be able to assume your issue - make sure that the click interactions are on the hover states. If they are on the default (inactive) state then the hover interaction will happen first and then there is no way of triggering the click.


h.rude
  • Author
  • 42 replies
  • March 3, 2021

Hi James, thanks for your fast response.

Sorry, if my image was misleading. There are actually 4 lines. 2 hovers and 2 clicks.

I also made sure that the click is set on the hover state … so this cannot be the issue.


James_Mitchell

Hmmm, sorry I’m out of ideas. I’m also just starting to play with interactive components.

Good luck!


tank666
  • 4863 replies
  • March 3, 2021

Have you tried reloading the prototype tab?


h.rude
  • Author
  • 42 replies
  • March 3, 2021

Thank you tank! Yeah, I already tried to reload it several times. Also, I’ve tried to detach and attach the connection once more … did not help 😦


tank666
  • 4863 replies
  • March 3, 2021

Can you share the file? I do the same as in your screenshot, but everything works for me.

Figma – 3 Mar 21

h.rude
  • Author
  • 42 replies
  • March 3, 2021

Thanks a lot for trying to reproduce my issue. Yes! Sure.
Here is my link. I can check it but cannot uncheck it.
Maybe I’m missing a very obvious button? 😃 Or maybe it is only not working for me?

Figma – 3 Mar 21

tank666
  • 4863 replies
  • March 3, 2021

Your file is experiencing problems due to the nesting of the component instance in variants. You can do it as in my example or with the correction of yours.

Figma – 3 Mar 21

h.rude
  • Author
  • 42 replies
  • March 3, 2021

Aaah, it is the .base that was missing. I thought, that I got rid of these nesting, but that was not the case! Thank you! I will correct it on my end and will let you know if it worked 🙂 Thanks a lot for your help!


h.rude
  • Author
  • 42 replies
  • March 3, 2021

Worked!! Thanks a lot.


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