Akryum / vue-virtual-scroller

⚡️ Blazing fast scrolling for any amount of data
https://vue-virtual-scroller-demo.netlify.app
9.23k stars 882 forks source link

DynamicScroller keyField is hardcoded to "id" #872

Open davidAtInleague opened 2 weeks ago

davidAtInleague commented 2 weeks ago

Describe the bug

DynamicScroller forwards the string literal "id" to RecycleScroller, rather than whatever the user has provided.

related: https://github.com/Akryum/vue-virtual-scroller/issues/161 (closed with no particular resolution)

Reproduction

https://github.com/Akryum/vue-virtual-scroller/blob/0f2e36248421ad69f41c9a08b8dcf7839527b8c2/packages/vue-virtual-scroller/src/components/DynamicScroller.vue#L7

System Info

linux

Used Package Manager

npm

Validations