-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Closed
Labels
Description
Vue version
3.5.4
Link to minimal reproduction
Steps to reproduce
- open devtools console
- click 'toggle' button (optional tbh)
What is expected?
No whitespace node when markdown tags with newlines
What is actually happening?
Console spamming with [Vue warn]: <TransitionGroup> children must be keyed
because of whitespace node (generated from newline)
System Info
No response
Any additional comments?
Also on sandbox i have commented working variation.
Also2 there is no issue when using Vue2, i know that since i am working on migrating my repo.
Link that i provided was for a .js template option without Vite;
I also have a link for a case with Vite and tag: https://codesandbox.io/p/devbox/jolly-ives-l6jfvx
Also there is console.log of slot, in working variation without newlines - there is only 2 nodes, and with newlines - 3 nodes (where one of them has children: ' '