Browse Source

Merge branch 'winh-boards-drag-selection' into 'master'

Prevent text selection when dragging in issue boards

Closes #59378

See merge request gitlab-org/gitlab-ce!27724
environments/review-docs-docs-apyxzd/deployments/113264
Annabel Dunstone Gray 1 year ago
parent
commit
fd05b2c9d6
4 changed files with 12 additions and 1 deletions
  1. +1
    -1
      .stylelintrc
  2. +3
    -0
      app/assets/stylesheets/pages/boards.scss
  3. +3
    -0
      app/assets/stylesheets/pages/search.scss
  4. +5
    -0
      changelogs/unreleased/winh-boards-drag-selection.yml

+ 1
- 1
.stylelintrc View File

@@ -64,7 +64,7 @@
"number-leading-zero":"always",
"number-no-trailing-zeros":true,
"property-no-unknown":true,
"property-no-vendor-prefix":true,
"property-no-vendor-prefix": [true, { "ignoreProperties": ["user-select"] }],
"rule-empty-line-before":[
"always-multi-line",
{


+ 3
- 0
app/assets/stylesheets/pages/boards.scss View File

@@ -7,6 +7,9 @@
opacity: 1 !important;

* {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
// !important to make sure no style can override this when dragging
cursor: grabbing !important;


+ 3
- 0
app/assets/stylesheets/pages/search.scss View File

@@ -84,6 +84,9 @@ input[type='checkbox']:hover {

.search-icon {
transition: color $default-transition-duration;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}



+ 5
- 0
changelogs/unreleased/winh-boards-drag-selection.yml View File

@@ -0,0 +1,5 @@
---
title: Prevent text selection when dragging in issue boards
merge_request: 27724
author:
type: fixed

Loading…
Cancel
Save