I am also having a problem with cdk drag and scrolling - but a different one. I have draggavle lists inside a scroillable sidenav container, but the scroll position is't being added to the drag item so it's out by the scroll position. Is there any way to tell cdg drag what the parent sroll container is?
*cdkVirtualForis for whatever reason is not detecting its child changes when something is triggered to makes a change. For example, I have a list of cards that is rendered via
*cdkVirtualFor, and each of these cards has an action menu which is based on the status of an input of that card. When I go and update the input for that particular card, the card itself changes, but the action menu which pops up, and is a child component of the card, does not change. This behavior seems to only happen in a CDK Virtual Scroll. A normal *ngFor works ok with this.
cdk-virtual-scroll-viewportthat something has changed, and that it should re-render whatever has changed? It also seems to me that when I scroll and this component is no longer in my viewport, then I scroll back, and it is in my viewport, the changes that I am expecting are all there. Perhaps this is a side-effect of the fact that the instances of these components are cached?