AUR6000
Error Message
AUR6000: Horizontal virtual-repeat is not supported inside table elements (TABLE, TBODY, THEAD, TFOOT).
Description
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.
Example Trigger
<!-- ❌ Avoid: virtual-repeat inside table elements -->
<table>
<tbody>
<tr virtual-repeat.for="item of items">
<td>${item.name}</td>
</tr>
</tbody>
</table>Correct Usage
Prefer non-table markup for horizontally virtualized lists (for example a
<div>-based layout withdisplay: gridorflex).If you must use a table, use vertical virtualization (or disable virtualization) and paginate instead.
Troubleshooting
Check where the
virtual-repeathost element ends up in the DOM (the element that hasvirtual-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?