Skip to content

bug(ScrollingModule): cdk-virtual-scroll-viewport not working #30662

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

Closed
1 task done
itsmostafa opened this issue Mar 19, 2025 · 3 comments
Closed
1 task done

bug(ScrollingModule): cdk-virtual-scroll-viewport not working #30662

itsmostafa opened this issue Mar 19, 2025 · 3 comments
Labels
needs triage This issue needs to be triaged by the team

Comments

@itsmostafa
Copy link

itsmostafa commented Mar 19, 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

19.1.5

Description

I'm getting the following error since I upgraded angular to 19.2.3:

error NG3004: Unable to import directive CdkFixedSizeVirtualScroll.
  The symbol is not exported from /WebNg/node_modules/@angular/cdk/overlay/index.d.ts (module '@angular/cdk/overlay').

Here's my current package.json file:

    "dependencies": {
        "@angular-devkit/build-webpack": "^0.1901.8",
        "@angular-devkit/schematics": "^19.2.4",
        "@angular-eslint/schematics": "^19.2.1",
        "@angular-slider/ngx-slider": "^19.0.0",
        "@angular/animations": "^19.2.3",
        "@angular/cdk": "^19.2.4",
        "@angular/cli": "19.2",
        "@angular/common": "^19.2.3",
        "@angular/compiler": "^19.2.3",
        "@angular/core": "^19.2.3",
        "@angular/elements": "^19.2.3",
        "@angular/forms": "^19.2.3",
        "@angular/material": "^19.2.4",
        "@angular/platform-browser": "^19.2.3",
        "@angular/platform-browser-dynamic": "^19.2.3",
        "@angular/platform-server": "^19.2.3",
        "@angular/router": "^19.2.3",
        "@fortawesome/angular-fontawesome": "^1.0.0",
        "@fortawesome/fontawesome-free": "^6.6.0",
        "@fortawesome/fontawesome-svg-core": "^6.6.0",
        "@jsverse/transloco": "^7.5.1",
        "@types/jquery": "^3.5.32",
        "@types/sanitize-html": "^2.13.0",
        "angular2-hotkeys": "^16.0.1",
        "bootstrap": "^5.3.2",
        "chart.js": "^4.4.5",
        "electron-find-on-page": "^1.0.1",
        "electron-log": "^5.2.0",
        "file-saver": "^2.0.5",
        "font-awesome": "^4.7.0",
        "fuse.js": "^7.1.0",
        "html-to-pdfmake": "^2.5.20",
        "intersection-observer": "^0.12.2",
        "jquery": "^3.7.1",
        "locate-path": "^7.2.0",
        "lodash": "^4.17.21",
        "luxon": "^3.5.0",
        "material-design-icons": "^3.0.1",
        "pdfmake": "^0.2.18",
        "rxjs": "^7.8.2",
        "sanitize-html": "^2.14.0",
        "sass": "^1.85.1",
        "screenfull": "^5.2.0",
        "style-loader": "^4.0.0",
        "swiper": "^11.2.5",
        "typescript": "^5.7.3",
        "zone.js": "^0.15.0"
    },

Reproduction

StackBlitz link:
Steps to reproduce:
1.
2.

Expected Behavior

To not error out on ng serve

Actual Behavior

error NG3004: Unable to import directive CdkFixedSizeVirtualScroll.
  The symbol is not exported from /WebNg/node_modules/@angular/cdk/overlay/index.d.ts (module '@angular/cdk/overlay').

Environment

  • Angular: 19.2.4
  • CDK/Material: 19.2.4
  • Browser(s): Chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): macOs
@itsmostafa itsmostafa added the needs triage This issue needs to be triaged by the team label Mar 19, 2025
@Eirmas
Copy link

Eirmas commented Mar 19, 2025

@angular/cdk v19.2.4 release broke everything it seems like
Paths are not correct in the built files
It seems to build fine, but the dev-server doesnt work.

Breaking commit: 6b8e6fc

@crisbeto
Copy link
Member

Rolling this into #30663 which has a bit more info.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Apr 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs triage This issue needs to be triaged by the team
Projects
None yet
Development

No branches or pull requests

3 participants