Skip to content

Commit

Permalink
fix(selection): Fix multiSelect + modifierKeysToMultiSelect
Browse files Browse the repository at this point in the history
Revert part of 2485652 (#6793)

fix #6791
  • Loading branch information
mportuga committed Jul 5, 2018
1 parent a8480a2 commit 2bc8c7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/features/selection/js/selection.js
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,8 @@
}
else if ($scope.grid.options.enableSelectRowOnFocus) {
uiGridSelectionService.toggleRowSelection($scope.grid, $scope.row, evt,
false, $scope.grid.options.noUnselect);
($scope.grid.options.multiSelect && !$scope.grid.options.modifierKeysToMultiSelect),
$scope.grid.options.noUnselect);
}
$scope.row.setFocused(!$scope.row.isFocused);
$scope.grid.api.selection.raise.rowFocusChanged($scope.row, evt);
Expand Down

0 comments on commit 2bc8c7b

Please sign in to comment.