mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(drag-drop): standalone draggable drag class not being applied with OnPush change detection (#14727)
Fixes the styling that is applied while an item is dragged not being applied with `OnPush` change detection.
This commit is contained in:
committed by
Jeremy Elbourn
parent
456a0893d8
commit
8ddcb5ba20
+1
-1
@@ -28,7 +28,7 @@ export declare class CdkDrag<T = any> implements AfterViewInit, OnChanges, OnDes
|
||||
constructor(
|
||||
element: ElementRef<HTMLElement>,
|
||||
dropContainer: CdkDropList, _document: any, _ngZone: NgZone, _viewContainerRef: ViewContainerRef, viewportRuler: ViewportRuler, dragDropRegistry: DragDropRegistry<DragRef, DropListRef>, config: DragRefConfig, _dir: Directionality,
|
||||
dragDrop?: DragDrop);
|
||||
dragDrop?: DragDrop, _changeDetectorRef?: ChangeDetectorRef | undefined);
|
||||
getPlaceholderElement(): HTMLElement;
|
||||
getRootElement(): HTMLElement;
|
||||
ngAfterViewInit(): void;
|
||||
|
||||
Reference in New Issue
Block a user