We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1c7164a + 5ba18b6 commit df73766Copy full SHA for df73766
projects/igniteui-angular/src/lib/grids/selection/selection.service.ts
@@ -496,7 +496,7 @@ export class IgxGridSelectionService {
496
497
pointerEnter(node: ISelectionNode, event: PointerEvent): boolean {
498
// https://www.w3.org/TR/pointerevents/#the-button-property
499
- this.dragMode = event.buttons === 1 && event.button === -1;
+ this.dragMode = event.buttons === 1 && (event.button === -1 || event.button === 0);
500
if (!this.dragMode) {
501
return false;
502
}
@@ -510,7 +510,7 @@ export class IgxGridSelectionService {
510
511
512
this.pointerState.ctrl ? this.selectRange(node, this.pointerState, this.temp) :
513
- this.dragSelect(node, this.pointerState);
+ this.dragSelect(node, this.pointerState);
514
return true;
515
516
0 commit comments