We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8e47af commit f716298Copy full SHA for f716298
packages/svelte/src/compiler/phases/2-analyze/visitors/RenderTag.js
@@ -63,6 +63,12 @@ export function RenderTag(node, context) {
63
}
64
else if (!parent.key) {
65
e.animation_missing_key(parent);
66
+ } else if (parent.body.nodes.filter((n) =>
67
+ n.type !== 'Comment' &&
68
+ n.type !== 'ConstTag' &&
69
+ (n.type !== 'Text' || n.data.trim() !== '')).length > 1
70
+ ) {
71
+ e.animation_invalid_placement(node);
72
73
74
0 commit comments