Commit 0105a226 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '195969-multi-select-on-issue-boards-inconsistent-erratic' into 'master'

Allow the selection of several cards when the cmd or ctrl key is pressed.

Closes #195969

See merge request gitlab-org/gitlab!25344
parents d1f06af2 e67d9717
......@@ -65,11 +65,12 @@ export default {
},
showIssue(e) {
if (e.target.classList.contains('js-no-trigger')) return;
if (this.showDetail) {
this.showDetail = false;
// If CMD or CTRL is clicked
const isMultiSelect = this.canMultiSelect && (e.ctrlKey || e.metaKey);
// If CMD or CTRL is clicked
const isMultiSelect = this.canMultiSelect && (e.ctrlKey || e.metaKey);
if (this.showDetail || isMultiSelect) {
this.showDetail = false;
if (boardsStore.detail.issue && boardsStore.detail.issue.id === this.issue.id) {
eventHub.$emit('clearDetailIssue', isMultiSelect);
......
---
title: Improved selection of multiple cards
merge_request:
author: Gwen_
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment