Skip to main content
Solved

Icon swap acts weirdly

  • October 14, 2024
  • 3 replies
  • 61 views

Marian_Tester

Hi. Not sure if it’s caused by new UI3 or it’s a bug. But this happens: Loom video

I have components for icons. Just atomic 24x24 icons, all named the same way (“color”). Then I have interactive component for icon button. Simple hover with color change. There’s “swap instance” set.

In a prototype I use icon buttons. One of them - search - opens an input. Close icon button “x” acts weirdly!

Figma file here

Any idea what to change?

Best answer by Nellya

Hi. Figma mistook icons because buttons have the same name. Rename it to fix the problem

View original
This topic has been closed for comments

Nellya
  • Power Member
  • October 14, 2024

Hi. Figma mistook icons because buttons have the same name. Rename it to fix the problem


Marian_Tester

This works, thanks!

Is this something I should have known because it’s a standard way components/Figma work and is documented somewhere, or is it just a workaround?


Nellya
  • Power Member
  • October 14, 2024

Naming issues usually happens in smart animation interactions. But you used Instant, i’m not really sure why it happened 🤔


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