« * K @jonathanschndr.de

Jonathan Schneider @jonathanschndr.de

2026-11-23 16:33 UTC

Why: Vue moves keyed nodes with insertBefore(), and a moved iframe starts over. Running CSS animations restart too. Vue keeps the longest run that's already in order, so a swap moves one node, reverse() moves three. The pattern: <div v-for="id in ids" :key="id" :style="{ order: pos[id] }">

A reply in a thread.

0 likes, 0 reposts, 1 replies

3 Next post4 More from @jonathanschndr.deBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup