Subscribe on changes!

multi-root-components with missing elements

avatar
Jan 22nd 2022

Version

3.2.27

Reproduction link

sfc.vuejs.org/

Steps to reproduce

Use the toggle button (SFC Playground) to toggle between the view of Temp1 and Temp2 component. It has to be used multiple times as the bug shows only after Temp1 is showing again.

What is expected?

Temp1 should always show the numbers from 1 to 9 even after toggling multiple times.

What is actually happening?

After toggeling to Temp1 after been on Temp2 all the elements of the component except the first one (h1-element) are not showing.


Works find in v3.2.26, broken in v3.2.27 and newer. I'm not sure if this is related to v-if but that's how I discovered it.