Files
Excalidraw/excalidraw/dev-docs/docs/codebase/frames.mdx
T
Yuzhong Zhang 602f4629ff init frontend
2025-07-05 23:22:48 +08:00

23 lines
473 B
Plaintext

# Frames
## Ordering
Frames should be ordered where frame children come first, followed by the frame element itself:
```
[
other_element,
frame1_child1,
frame1_child2,
frame1,
other_element,
frame2_child1,
frame2_child2,
frame2,
other_element,
...
]
```
If not ordered correctly, the editor will still function, but the elements may not be rendered and clipped correctly. Further, the renderer relies on this ordering for performance optimizations.