<script src="https://unpkg.com/vue"></script>
<div id="app">
<div>
This is an example of a transition stutter that occurs when another part of the component updates mid-transition. Transition should appear normal with test1, test2, or test3. You should see a "stutter" of the transition-group when you use test4, test5, or test6.
</div>
<div>
The stutter happens because, approximately 100ms after the transition, another value changes in the component which causes a different part of the DOM to re-render.
</div>
<br>
<br>
<br>
<transition-group name="transition-group-opacity" tag="div" class="d-flex justify-content-center">
<div v-for="(nav, index) in topLevelShowing" :key="nav" class="d-flex">
<button type="button" class="btn" :class="selectedTag === nav ? 'transform-scale font-weight-bold text-uppercase' : null" @click="toggleNav(nav)" v-text="nav" />
</div>
</transition-group>
<div v-if="selectedTag" class="text-center w-100">
<div v-for="result in results" :key="result">
<div v-text="result" />
<div>
Some thing <span>Other</span>
</div>
</div>
</div>
</div>