Skip to content

Commit

Permalink
fix(VDataTableVirtual): pass original item index to item slots
Browse files Browse the repository at this point in the history
fixes #18668
  • Loading branch information
KaelWD committed Nov 13, 2023
1 parent 8030d40 commit 51ef1e3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ export const VDataTableVirtual = genericComponent<new <T extends readonly any[],
{ ...itemSlotProps.props }
ref={ itemRef }
key={ itemSlotProps.internalItem.index }
index={ itemSlotProps.internalItem.index }
v-slots={ slots }
/>
)
Expand Down

0 comments on commit 51ef1e3

Please sign in to comment.