Skip to content

Commit 2bc8c7b

Browse files
authoredJul 5, 2018
fix(selection): Fix multiSelect + modifierKeysToMultiSelect
Revert part of 2485652 (#6793) fix #6791
1 parent a8480a2 commit 2bc8c7b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/features/selection/js/selection.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,8 @@
955955
}
956956
else if ($scope.grid.options.enableSelectRowOnFocus) {
957957
uiGridSelectionService.toggleRowSelection($scope.grid, $scope.row, evt,
958-
false, $scope.grid.options.noUnselect);
958+
($scope.grid.options.multiSelect && !$scope.grid.options.modifierKeysToMultiSelect),
959+
$scope.grid.options.noUnselect);
959960
}
960961
$scope.row.setFocused(!$scope.row.isFocused);
961962
$scope.grid.api.selection.raise.rowFocusChanged($scope.row, evt);

0 commit comments

Comments
 (0)
Please sign in to comment.