As a user I expected the :key bindings to not break in Vue v-for loops.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
macOS, Linux
tanstack-virtual version
3.10.6
TypeScript version
5.5.4
Additional context
No response
Terms & Code of Conduct
[x] I agree to follow this project's Code of Conduct
[x] I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
Describe the bug
The recent change to VirtualItem.Key breaks the
:key
bindings inv-for
loops.Example:
Your minimal, reproducible example
https://github.com/tanstack/virtual/tree/main/examples/
Steps to reproduce
Setup a virtualizer that uses a key that's not the index e.g.
Expected behavior
As a user I expected the
:key
bindings to not break in Vuev-for
loops.How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
macOS, Linux
tanstack-virtual version
3.10.6
TypeScript version
5.5.4
Additional context
No response
Terms & Code of Conduct