Feature Description
Allow exposing native mousedown and touchstart events to parent elements such that listeners farther up the chain can respond before a CdkDragEvent has started. Without these events, certain gestures (swiper, etc) cannot be achieved when events are started on a DragRef element, as drag-drop effectively swallows them whether they are used or not.
This feature should be enabled only if desired using the CDK_DRAG_CONFIG InjectionToken / provider pattern.
Use Case
Allow propagation of events to parent components in the DOM. Example: Using a cdkDragDrop component inside a horizontal swiper, where the native element's scroll direction is vertical.
Feature Description
Allow exposing native mousedown and touchstart events to parent elements such that listeners farther up the chain can respond before a CdkDragEvent has started. Without these events, certain gestures (swiper, etc) cannot be achieved when events are started on a DragRef element, as drag-drop effectively swallows them whether they are used or not.
This feature should be enabled only if desired using the
CDK_DRAG_CONFIGInjectionToken / provider pattern.Use Case
Allow propagation of events to parent components in the DOM. Example: Using a cdkDragDrop component inside a horizontal swiper, where the native element's scroll direction is vertical.