When a frame/instance has no visible fills, Figma renders drop shadows using the first child's shape instead of the node's own rectangle. This makes shadows follow rounded children (e.g. pill-shaped badges inside a rectangular wrapper). Pass the first visible child as shadowShapeChild to renderEffects when the container has no visible fills. |
||
|---|---|---|
| .. | ||
| e2e | ||
| engine | ||
| figma | ||
| fixtures | ||
| helpers | ||