mirror of
https://github.com/rommapp/romm.git
synced 2026-12-06 15:54:45 +01:00
Wraps Vuetify's VVirtualScroll with the project's wrapper contract
(inheritAttrs: false, $attrs forwarding, slot passthrough). Items
are typed as unknown[] so consumers cast at the call site — making
the primitive non-generic keeps it usable inside Storybook
components: {} registrations, where Vue 3.4 generic components
clash with the Component record type.
Story exercises a 5000-row list to verify only the visible window
hits the DOM. Auto-discovered by test/storybook.test.ts.
This primitive is the substrate for the upcoming GameGrid and
LetterGroupedGrid migrations — both will chunk their items into
rows of fixed-width cards and feed those rows here, so libraries
with thousands of ROMs no longer mount thousands of cards at once.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>