Skip to content

Commit 4018cc3

Browse files
authored
Merge pull request #9 from kreuzerk/feature/fixDropOutsideGrid
fix(drop): drop on dragend instead of drop
2 parents 46fcab2 + e5ba06f commit 4018cc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/ng-sortgrid/src/lib/ngsg-item.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export class NgsgItemDirective implements OnInit, OnChanges, AfterViewInit, OnDe
9595
return false;
9696
}
9797

98-
@HostListener('drop', ['$event'])
98+
@HostListener('dragend')
9999
drop(): void {
100100
if (!this.ngsgStore.hasSelectedItems(this.ngSortGridGroup)) {
101101
return;

0 commit comments

Comments
 (0)