Using custom drag ghost template for the IgxDrag directive with ngFor inside does not get updated automatically. #13346
Labels
🐛 bug
Any issue that describes a bug
drag-drop
version: 15.1.x
✅ status: resolved
Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Description
When applying a drag ghost template with for example ngFor inside it, it does not get automatically updated when expected, even though the ChangeDetectionStrategy is Default for the app.
Manually triggering change detection updates the template.
This is due to the drag ghost being created outside the zone.
Steps to reproduce
Result
The drag ghost template does not detect changes automatically.
Expected result
The drag ghost template should detect changes automatically.
Attachments
drag-ghost-template.zip
The text was updated successfully, but these errors were encountered: