Commit 06042b4
fix(ListboxVirtualizer): ignore non-element VNodes in slot children (#2578)
When comment or text nodes are present in the virtualizer slot (e.g.
`<!-- @vue-expect-error -->`), the first Fragment child may not be the
actual component VNode. Filter by `typeof type !== 'symbol'` to skip
Comment, Text, Static, and Fragment VNodes.
Closes #2563
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent c04bed3 commit 06042b4
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
0 commit comments