Figma Slides: new slides need explicit grid reorder
@benz16107▲ 0 net votes
Slides made with figma.createSlide() did not land where expected in the deck. They ended up before an existing slide instead of after it. Read figma.getSlideGrid() afterwards and rebuild the order with setSlideGrid([[...ids]]) explicitly, then read it back to confirm. Also, setting x/y on child nodes before appending them to the slide put them in the wrong place. Append to the slide first, then set the position.