Skip to content

Commit dd274c8

Browse files
committed
tests(igxDrag/igxDrop): Add more automation for igxDrag/igxDrop and small code tweak. #5319
1 parent 869d1aa commit dd274c8

File tree

2 files changed

+579
-77
lines changed

2 files changed

+579
-77
lines changed

projects/igniteui-angular/src/lib/directives/drag-drop/drag-drop.directive.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,8 +814,9 @@ export class IgxDragDirective implements AfterContentInit, OnDestroy {
814814
// We moved enough so dragGhost can be rendered and actual dragging to start.
815815
this.createDragGhost(pageX, pageY);
816816
}
817+
} else {
818+
return;
817819
}
818-
return;
819820
} else if (!this._dragStarted) {
820821
return;
821822
}

0 commit comments

Comments
 (0)