File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
projects/igniteui-angular/src/lib/grids/selection Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -496,7 +496,7 @@ export class IgxGridSelectionService {
496
496
497
497
pointerEnter ( node : ISelectionNode , event : PointerEvent ) : boolean {
498
498
// 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 ) ;
500
500
if ( ! this . dragMode ) {
501
501
return false ;
502
502
}
@@ -510,7 +510,7 @@ export class IgxGridSelectionService {
510
510
}
511
511
512
512
this . pointerState . ctrl ? this . selectRange ( node , this . pointerState , this . temp ) :
513
- this . dragSelect ( node , this . pointerState ) ;
513
+ this . dragSelect ( node , this . pointerState ) ;
514
514
return true ;
515
515
}
516
516
You can’t perform that action at this time.
0 commit comments