Akryum / Akryum/vue-virtual-scroller

Index is non-reactive (@next)

Open
#735 4 comments 0 reactions 0 assignees View on GitHub
feature-request
Dominant language
TypeScript
Stars
10.8k
Forks
973
PR merge metrics
No merged PRs in 30d

Description

In the `next` branch, the index passed to the slot is from the non-reactive field:

https://github.com/Akryum/vue-virtual-scroller/blob/a6e07da79af0165a62fc6fc9bfb8ca08631b25ef/packages/vue-virtual-scroller/src/components/RecycleScroller.vue#L37

I'm seeing that my index-based view widget shows stale element, and I'm assuming that this is caused by this non-reactiveness.

Can you confirm that it can cause updates to be skipped for any index-based computed/templates, and if that's the case, make it properly reactive?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.