AUR6000
Last updated
Was this helpful?
AUR6000: Horizontal virtual-repeat is not supported inside table elements (TABLE, TBODY, THEAD, TFOOT).
This error occurs when virtual-repeat is configured for a horizontal layout (for example via CSS/strategy/layout) inside a table structure. Table layout rules and virtualization’s DOM measurements don’t work together reliably for horizontal virtualization.
<!-- ❌ Avoid: virtual-repeat inside table elements -->
<table>
<tbody>
<tr virtual-repeat.for="item of items">
<td>${item.name}</td>
</tr>
</tbody>
</table>Prefer non-table markup for horizontally virtualized lists (for example a <div>-based layout with display: grid or flex).
If you must use a table, use vertical virtualization (or disable virtualization) and paginate instead.
Check where the virtual-repeat host element ends up in the DOM (the element that has virtual-repeat.*).
If the host is inside TABLE/TBODY/THEAD/TFOOT, move the virtualized list outside the table, or change the layout strategy.
Last updated
Was this helpful?
Was this helpful?