« * K @jonathanschndr.de

Jonathan Schneider @jonathanschndr.de

2026-11-23 16:32 UTC

Reordering a Vue list of iframes or embeds? Keep the v-for in a fixed order and move the items with CSS order instead. The DOM never changes, so nothing reloads. I ran it on Vue 3.5.46: list.reverse() with a normal keyed v-for reloaded 3 of 4 iframes. The CSS order version: 0. #Vue #webdev

1 picture (not shown on this phone): Screenshot of a real test page, Vue 3.5.46 in Chrome 156. Title: "Reorder a Vue list without reloading its iframes". Tw…

1 likes, 0 reposts, 1 replies

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