Description
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
12
Description
Ok,
First of all , i was not sure how much it is related to bug, yes, starting angular 14 it stop, but, not from angular's way.
This is the issue:
We used to have in our code , something like this:
<cdk-virtual-scroll-viewport infiniteScroll [scrollWindow]="false" ...>
As you can see, we use [scrollWindow] for the use infiniteScroll only.
After we upgraded to angular 14 scrollWindow also causes cdk-virtual-scroll-viewport[scrollWindow] directive to appear, which causes us to break our container (cdk-virtual-scroll-viewport)
I say again, I do not want to call it a bug, but I was not sure what to do :)
Now, is it possible please to change scrollWindow to something else please
Reproduction
No need to attach here nothing.
Just install
https://www.npmjs.com/package/ngx-infinite-scroll
angular material cdk
and use:
<cdk-virtual-scroll-viewport
infiniteScroll
[scrollWindow]="false"
...>
Expected Behavior
scrollWindow is an angular input of infinite scroll which should not causes cdk-virtual-scroll-viewport[scrollWindow] directive to be instansiated.
Actual Behavior
scrollWindow is an angular input of infinite scroll which should which causes cdk-virtual-scroll-viewport[scrollWindow] directive to be instansiated.
Environment
- Angular: ^14.3.0
- CDK/Material: ^14.2.7
- Browser(s): chrome
- Operating System (e.g. Windows, macOS, Ubuntu): mac