Whenever I include the [cdkDragFreeDragPosition]
attribute to a div, an error pops up:
I attempted to replicate this example: https://stackblitz.com/angular/bxalqlqlaly?file=src%2Fapp%2Fcdk-drag-drop-free-drag-position-example.ts
For instance:
<div class="example-box" cdkDragBoundary=".example-boundary" cdkDrag [cdkDragFreeDragPosition]="dragPosition">
<h2>Test</h2>
</div>