Skip to main content
wc-xym
New Participant
February 16, 2024
Question

Prototyping with Variables Painfully Slow

  • February 16, 2024
  • 21 replies
  • 1758 views

I have an extremely simple prototyping example that takes forever to click through when using variables to manage select/unselect state for a layer.

This topic has been closed for replies.

21 replies

wc-xym
wc-xymAuthor
New Participant
February 16, 2024

Celine_
Figmate
Community Support
February 21, 2024

Hey @wc-xym ,
Sorry for the trouble! This looks odd. I’ve checked in our backend, and we had a similar issue that’s been solved a few months ago. Is it happening on desktop app, browser or both?
Can you try to force-quit and open Figma to see if that helps?

I’d recommend you to reach out directly to the support team with a copy of your file: here
Our technical specialist can have a deeper look at it to see if we can replicate on our end.
Be sure to use your Figma account email, include a link to the file, and share it with support-share@figma.com. Thank you!

wc-xym
wc-xymAuthor
New Participant
February 27, 2024

I figured out why the slowness occurs.

  1. Create a component
  2. Create an instance
  3. Add interaction with variables to an instance → Prototype works fine
  4. Turn the new instance into a component
  5. create an instance from the new component → Prototype works but is extremely slow

The issue only occurs when you nest the instance with the prototype action in another component.

Do you still want to see the sample file?

Celine_
Figmate
Community Support
February 28, 2024

Hey @wc-xym ,
Thank you for taking the time to have a look at it! Please reach out directly to the support team with a copy of your file: here
Our team can investigate further and see if we can replicate on our end. Thank you!

March 13, 2024

@wc-xym I tried your fix but my problem persists.

I got an issue in an onclick “change to” the transition was instant, but when adding setting variables in the same onclick the transition became laggy and delayed. (Each set variable seemed to add ~0.5s time to the delay)

wc-xym
wc-xymAuthor
New Participant
March 14, 2024

Hi Gerard,

My apologies. I was articulating the cause behind the slowness in my response above. Anytime you add variable interactions and turn the design into a component, you will get slowness.

The only way I figured out how to resolve the slowness is to keep variable interactions on component instances as opposed to the components themselves.

Hope that helps.

W

March 21, 2024

I also experienced this issue, I hope they can fix it soon.
Otherwise, I will need to redo a large portion of my prototype with instances instead of components, as you said

Oliver_Maw
New Participant
April 9, 2024

Be great if this issue could escalated, some prototypes we are producing using variables are becoming unusable due to the response times.

Rachel11
April 9, 2024

Having this same issue. Please escalate…

April 9, 2024

Having this issue on multiple big files that where working just fine a few weeks ago, causing havoc now as I can not take anyone through the prototypes. Which is odd as a few weeks back there where no issues with these files. To undo the nested components now would take forever.

Please escalate.