vue-virtual-scroller
vue-virtual-scroller copied to clipboard
DynamicScroller keyField is hardcoded to "id"
trafficstars
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
- [X] Read the docs.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- [X] The provided reproduction is a minimal reproducible example of the bug.