Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug(cdk Scrolling): Angular 19 cdk scrolling initial only load 5 items when configure architect "builder": "@angular/build:application" #30306

Open
1 task
lujian98 opened this issue Jan 11, 2025 · 0 comments
Labels
needs triage This issue needs to be triaged by the team

Comments

@lujian98
Copy link

lujian98 commented Jan 11, 2025

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

Didn't test with Angular 18.

Description

With angular 19, if configure architect: "builder": "@angular/build:application", the cdk scrolling initial only load 5 items into the view.
Same issue with "builder": "@angular-devkit/build-angular:application".

It works fine with "builder": "@angular-devkit/build-angular:browser"

Reproduction

StackBlitz link: https://stackblitz.com/edit/stackblitz-starters-dehjwctw?file=angular.json
Steps to reproduce:

  1. Just load the above StackBlitz demo

Expected Behavior

It should display as below to load all the items into the view.

Image

Actual Behavior

the cdk scrolling initial only load 5 items into the view.

Image

Environment

  • Angular: 19
  • CDK: 19
  • Browser(s): Chrome and FF
  • Operating System: Ubuntu 24
@lujian98 lujian98 added the needs triage This issue needs to be triaged by the team label Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage This issue needs to be triaged by the team
Projects
None yet
Development

No branches or pull requests

1 participant