slick-components 17.0.79 → 17.0.80

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,7 +23,7 @@ class SlickInitParams {
23
23
  }
24
24
  }
25
25
  class SlickInitService {
26
- static { this.version = "17.0.79"; }
26
+ static { this.version = "17.0.80"; }
27
27
  constructor() { }
28
28
  static init(initParams) {
29
29
  console.info(`Slick Components Version ${SlickInitService.version}`);
@@ -2920,6 +2920,13 @@ class SlickDraggableDirective {
2920
2920
  onDragStart(event) {
2921
2921
  if (!event.dataTransfer)
2922
2922
  return;
2923
+ // Check if the click started on a drop-list grab handle
2924
+ const target = event.target;
2925
+ if (target.closest('[slick-drop-list-grab]')) {
2926
+ // Ignore dragging if the grab handle was clicked
2927
+ event.preventDefault();
2928
+ return;
2929
+ }
2923
2930
  // Use a custom MIME type for slick-draggable items
2924
2931
  event.dataTransfer.setData('application/x-slick-draggable', JSON.stringify(this.data));
2925
2932
  this.el.nativeElement.style.opacity = '0.5';