Interactive Components with an Instance Swap Element break when the Pass Through of this element is reduced between variants

Example Steps:

  1. Create a component with an instance swap element.
  2. Create a variant where the pass through of the element assigned with instance swap is reduced.
  3. Add a change to interaction “while hovering” between the two variants.
  4. Create an instance and swap the instance
    → Bug: After hovering the element with instance swap remains with the “on hover” pass through value
1 Like

While we’re waiting for figma to fix it, you can solve it by adding an interaction on the hover variant “mouse leaves” to the original variant. It’s been working here

1 Like

Cool, thank you! I solved it by framing the instance swap element and changing the pass through value of this frame instead of the pass through value of the instance swap element. But your solution is nice, as well.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.