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

reachedBottom output broke scrollbar layout inside mat-select #531

Closed
VladislavKhlystun opened this issue Nov 19, 2023 · 1 comment
Closed
Labels

Comments

@VladislavKhlystun
Copy link

What are you trying to do?

Trying to use ng-scrollbar inside mat-select and detect scrolling to the end. After adding (reachedBottom) directive, viewport height starting to be with height: 0 and you don't see the options inside and can't scroll. When deleting (reachedBottom) directive, problem disappears.

Reproduction

Stackblitz example

Environment

  • Angular: 16 or higher
  • ngx-scrollbar: 13.0.3

Maybe anyone have some thoughts how to fix it? Or something done wrong in the reproduction

@MurhafSousli
Copy link
Owner

MurhafSousli commented Feb 17, 2024

Fixed in v14, you can now use a special directive matSelectViewport

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants