Open gavinmcfarland opened 3 years ago
I'm getting an error when using the clone() helper. I believe it's because of a circular dependency problem, but that's just a hunch.
clone()
When I run clone(figma.createFrame()) I now get the following error:
clone(figma.createFrame())
RangeError: Maximum call stack size exceeded <ref *1> LayoutMixinStub { type: 'FRAME', children: [], parent: ChildrenMixinStub { type: 'PAGE', children: [ [Circular *1] ], parent: ChildrenMixinStub { type: 'DOCUMENT', children: [Array] } } } []
Could it by trying to loop through the parent, which then loops through the children and then through the parent again?
I'm getting an error when using the
clone()
helper. I believe it's because of a circular dependency problem, but that's just a hunch.When I run
clone(figma.createFrame())
I now get the following error:Could it by trying to loop through the parent, which then loops through the children and then through the parent again?