Skip to content

Nested cdkVirtualFor in cdk-virtual-scroll-viewport #25948

Open
@kevalgw

Description

@kevalgw

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

Hi,

I want to use nested cdkVirtualFor in cdk-virtual-scroll-viewport
I am getting the following error:

image

Here is my code:

image

Reproduction

Refer Above code

Expected Behavior

Working nested cdkFor loop

Actual Behavior

Not Working

Environment

  • Angular:
  • CDK/Material:
  • Browser(s):
  • Operating System (e.g. Windows, macOS, Ubuntu):

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: cdk/scrollingfeatureThis issue represents a new feature or feature request rather than a bug or bug fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions