Figma Support Forum

Story on solving an invisible nodes slowness issue

Hey plugin developers, I thought this might be useful to someone if I share this story. It took me about a week of every day work to create a workaround for the issue that makes processing invisible instances and nodes within them very slow. Hope you learn something! Read the full thread on twitter:

Even though I solved it, I still don’t know why it works this way. I’d like to learn some details from the Figma developers!

Interesting read.
My guess is that it probably has something to do with calculating the position of a node when you toggle it’s visibility. If you think of an auto layout group, then hide a child layer, all of the children in that group change position.

Would be great to see some code examples along with this, so I can better understand your workaround.

1 Like