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

When using vScrollNone, grid is not visible when container has height unset or set to auto #226

Open
t00 opened this issue Feb 3, 2022 · 0 comments

Comments

@t00
Copy link
Contributor

t00 commented Feb 3, 2022

Before upgrade (from 2.x to 4.0) vScrollNone directive worked fine and allowed placing a grid in a normal container without need to set it's size.

After upgrade this directive stopped working. I noticed contain: strict causing this issue on virtual scroll container and implemented a css fix:

.pbl-ngrid-container .cdk-virtual-scroll-disabled {
  contain: unset;
}

Not sure what might be other implications of that fix, but for when virtual scroll is not needed, it seems to do the job.

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

No branches or pull requests

1 participant