An unknown error occurred while using <transition>.
Version
3.0.11
Reproduction link
Steps to reproduce
- Open the console panel.
- Click on tthe ext.
- Remove transiton in the Modal.vue.
- Click on the text again.
What is expected?
The content should update when click on the text.
What is actually happening?
In this example, the content is not updated when transition is used.
The content of the slot needs to be passed like this:
return h(
Modal,
{
modelValue: true,
ref: 'modal'
},
{
default:()=>[h('div', [h('div', footerVNodes)])]
}
)