Skip to content

Commit 4c732be

Browse files
authored
Merge branch 'master' into skrastev/feat-7387
2 parents c382890 + df73766 commit 4c732be

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

projects/igniteui-angular/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,14 @@
7575
"igniteui-trial-watermark": "^1.0.3"
7676
},
7777
"peerDependencies": {
78-
"@angular/common": "^9.0.0",
79-
"@angular/core": "^9.0.0",
80-
"@angular/animations": "^9.0.0",
81-
"@angular/forms": "^9.0.0",
78+
"@angular/common": "^10.0.0",
79+
"@angular/core": "^10.0.0",
80+
"@angular/animations": "^10.0.0",
81+
"@angular/forms": "^10.0.0",
8282
"web-animations-js": "^2.3.2"
8383
},
8484
"igxDevDependencies": {
85-
"@igniteui/angular-schematics": "~9.1.510"
85+
"@igniteui/angular-schematics": "~10.0.600"
8686
},
8787
"ng-update": {
8888
"migrations": "./migrations/migration-collection.json"

projects/igniteui-angular/src/lib/grids/selection/selection.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ export class IgxGridSelectionService {
496496

497497
pointerEnter(node: ISelectionNode, event: PointerEvent): boolean {
498498
// https://www.w3.org/TR/pointerevents/#the-button-property
499-
this.dragMode = event.buttons === 1 && event.button === -1;
499+
this.dragMode = event.buttons === 1 && (event.button === -1 || event.button === 0);
500500
if (!this.dragMode) {
501501
return false;
502502
}
@@ -510,7 +510,7 @@ export class IgxGridSelectionService {
510510
}
511511

512512
this.pointerState.ctrl ? this.selectRange(node, this.pointerState, this.temp) :
513-
this.dragSelect(node, this.pointerState);
513+
this.dragSelect(node, this.pointerState);
514514
return true;
515515
}
516516

0 commit comments

Comments
 (0)