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

cdkVirtualScrollViewport got dependency of @angular/material/select #573

Closed
TekVanDo opened this issue Apr 8, 2024 · 1 comment · Fixed by #577
Closed

cdkVirtualScrollViewport got dependency of @angular/material/select #573

TekVanDo opened this issue Apr 8, 2024 · 1 comment · Fixed by #577
Labels

Comments

@TekVanDo
Copy link

TekVanDo commented Apr 8, 2024

Reproduction

Use StackBlitz to reproduce your issue: https://stackblitz.com/edit/stackblitz-starters-aqrbus?file=src%2Fmain.ts

If use cdkVirtualScrollViewport withot installed @angular/material/select dependency it is throw an error

ERROR in ./node_modules/ngx-scrollbar/fesm2022/ngx-scrollbar-utils.mjs 3:0-53 Module not found: Error: Can't resolve '@angular/material/select' in 'C:\projects\ep-ui\node_modules\ngx-scrollbar\fesm2022'

Environment

  • Angular: 17
  • ngx-scrollbar: 14
@MurhafSousli
Copy link
Owner

Hmmm, seems like we need to split it into different packages.

By the time this is fixed, you can use the following code https://stackblitz.com/edit/stackblitz-starters-zp7r7x?file=src%2Fmain.ts

@MurhafSousli MurhafSousli linked a pull request Apr 10, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants