<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kosukerino</author_name>
  <author_url>https://blog.hatena.ne.jp/kosukerino/</author_url>
  <blog_title>higmonta blog</blog_title>
  <blog_url>https://higmonta.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>Vueで複数の要素が同時に消える時のトランジションについて備忘録として、こちらにまとめます。 以下のようなコードがある時に、[item2]と[item3]が消えてトランジションする時の動きが意図しない動き方になる。 &lt;div id=&quot;app&quot;&gt; &lt;button @click=&quot;removeItems&quot;&gt;アイテムを削除&lt;/button&gt; &lt;transition-group tag=&quot;ul&quot; class=&quot;list&quot;&gt; &lt;li v-for=&quot;item in items&quot; :key=&quot;item.id&quot;&gt; {{ item.name }} &lt;/li&gt; &lt;/transition-group&gt; &lt;/div&gt;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhigmonta.hatenablog.com%2Fentry%2F2024%2F07%2F10%2F031113&quot; title=&quot;Vueで複数の要素が同時に消える時のトランジション - higmonta blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-07-10 03:11:13</published>
  <title>Vueで複数の要素が同時に消える時のトランジション</title>
  <type>rich</type>
  <url>https://higmonta.hatenablog.com/entry/2024/07/10/031113</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
