Parabeac/parabeac_core

Components inside frames not extracting correctly.

ivan-015 opened this issue · 0 comments

Describe the bug

When a Component is inside of a frame, parabeac_core is supposed to extract the Component into its own tree and replace the Component in the frame with an Instance. However, in a lot of cases, this does not happen, leaving us with reference errors to the Instances.

To Reproduce

Steps to reproduce the behavior:

  1. Inside Figma, create a Component.
  2. Place the Component inside of an existing Frame.
  3. Run the file through the generator.
  4. There should be an error in the frame, stating it cannot find the reference to the component.

Impact of the problem

The generated code cannot be run.

Environment:

  • Branch: dev
  • Version v2.4.0