Within a view I have a component that is using Angular cdkDrag to move elements around on a dashboard.
The data to this component is pass down from the parent (via single way binding) which is subscribed to a SignalR Hub.
The issue I am having is upon receiving the payload, if any of the elements have been moved, they then reset back to the default UI layout (as if you refreshed the page).
Is there a way to stop this?
Would I need to store the new position in cache and upon receiving the payload, apply the previous position (from cache)?.
Below is a StackBlitz that shows the issue. The project is similar in structure to mine: https://stackblitz.com/edit/angular-cdk-drag-columns-ldd9n2