-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
featureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fix
Description
I want to use cdkDrag for the dragging part of a custom scrollbar. But the thing is, the native scroll occurs, I apply transform3d to the custom scrollbar thumb, which is simultaneously the drag handle, now when I try to drag after scroll occurred, those transforms get all messed up.
So ideally I would like to be able to sync those values.
This works:
(this.cdkDragYRef as any)._dragRef._activeTransform.y = this._scrollbarPosition.y;
(this.cdkDragXRef as any)._dragRef._activeTransform.x = this._scrollbarPosition.x;
Metadata
Metadata
Assignees
Labels
featureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fix