Commit fd05b2c9 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

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
parents 9f690b03 21116346
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
"number-leading-zero":"always", "number-leading-zero":"always",
"number-no-trailing-zeros":true, "number-no-trailing-zeros":true,
"property-no-unknown":true, "property-no-unknown":true,
"property-no-vendor-prefix":true, "property-no-vendor-prefix": [true, { "ignoreProperties": ["user-select"] }],
"rule-empty-line-before":[ "rule-empty-line-before":[
"always-multi-line", "always-multi-line",
{ {
......
...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
opacity: 1 !important; opacity: 1 !important;
* { * {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; user-select: none;
// !important to make sure no style can override this when dragging // !important to make sure no style can override this when dragging
cursor: grabbing !important; cursor: grabbing !important;
......
...@@ -84,6 +84,9 @@ input[type='checkbox']:hover { ...@@ -84,6 +84,9 @@ input[type='checkbox']:hover {
.search-icon { .search-icon {
transition: color $default-transition-duration; transition: color $default-transition-duration;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; user-select: none;
} }
......
---
title: Prevent text selection when dragging in issue boards
merge_request: 27724
author:
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