Skip to content

[labs/virtualizer] Doesn't update on scroll when a clipping ancestor is in Shadow DOM #3493

@Westbrook

Description

@Westbrook

Which package(s) are affected?

Virtualizer (@lit-labs/virtualizer)

Description

When slotting places a Virtualizer within a scrolling parent, the current parent gathering workflow does not acquire that parent. This means that when the content is scrolled, the virtualization is not triggered and subsequent pages of content are not rendered.

Reproduction

https://lit.dev/playground/#gist=d12a3422f91b2b55eee102a491b74e3d

Workaround

Patch the package...

Is this a regression?

No or unsure. This never worked, or I haven't tried before.

Affected versions

All

Browser/OS/Node environment

All

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions