-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
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:
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?
Metadata
Metadata
Assignees
Labels
No labels