Akryum / vue-virtual-scroller

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

Use v-memo to prevent update of all rows when the hoverKey changes #703

Closed cotillion closed 2 years ago

cotillion commented 2 years ago

Whenever the hoverKey changes due to a mouse event all rows in the pool would be updated. Using v-memo the update can be limited to only the affected rows.

It might be that the correct fix is something else since the before and after slots appear to be updated when hoverKey changes also.

cotillion commented 2 years ago

Closing this as v-memo results in no updates when slot props change..