excalidraw/excalidraw#12510 · @dwelle · MIT · licence
frameId and index. One left above its frame made new children of that frame (drawn, or dragged into it) go above it, up to the top of the canvas.
- A reload fixed it locally, since localStorage drops deleted elements. In collab rooms deleted elements are kept for 24h, so it persisted, and clients with different deleted elements in memory placed the same insert differently.
- getFrameChildrenInsertionIndex now skips deleted children. The index still points into the full array, deleted elements included, so fractional indices stay valid. The drag-into-frame preview already ignored deleted elements, so the drop now lands where the preview showed.
- Unchanged: undoing a deletion still restores the element at its old index, and a live child above its frame still takes new children above it (the existing fallback).
Claude Opus 5.5 (xhigh)// files changed