Skip to content

How to handle item resize ? #368

@mtancoigne

Description

@mtancoigne

Hello and thank you for this library !
I have a question on my implementation: I render a list in which some items are collapsed, and when one expand an item and scroll, the item gets removed even if the content was not fully scrolled:
Peek 08-01-2022 22-34

This is fine if the item is created expanded:
Peek 08-01-2022 22-36

My first thought was to have a kind of callback fired by vue-virtual-scroll-list when the element gets rendered in the list: the element is rendered in its expanded state, then vue-virtual-scroll-list executes a callback (in my case, the element collapses).

Any thought or idea (or maybe something I missed ?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions