Skip to content

Issue when placed inside a grid or flex container #6

@d3lm

Description

@d3lm

Hey there 👋 Thanks for this awesome library!

I am trying to place the virtual list in a flex / grid container but I am having issues getting the virtual list to behave correctly. Setting the height to 100% works as expected for the element as it uses the remaining height, but the scroll seems to be broken then.

I have created an example to demonstrate the issue: https://stackblitz.com/edit/vitejs-vite-d1z9nv?file=src%2FApp.svelte&terminal=dev

Any idea how to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions