From 09858afd8f679586f3df9af6b9beee09472dbfc8 Mon Sep 17 00:00:00 2001 From: Jason Henriquez Date: Sun, 27 Aug 2023 18:40:55 -0500 Subject: [PATCH 1/3] This is due to my previous change which included the use of a poorly researched 'user-select: all' to unset a 'user-select'. The problem is that all does something else altogether: 'The content of the element shall be selected atomically: If a selection would contain part of the element, then the selection must contain the entire element including all its descendants. If a double-click or context-click occurred in sub-elements, the highest ancestor with this value will be selected.' Source: https://developer.mozilla.org/en-US/docs/Web/CSS/user-select --- src/renderer/App.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/App.css b/src/renderer/App.css index 76363e2111be..14c361d08bcf 100644 --- a/src/renderer/App.css +++ b/src/renderer/App.css @@ -26,8 +26,8 @@ .flexBox { display: block; - user-select: all; - -webkit-user-select: all; + user-select: unset; + --webkit-user-select: unset; } #changeLogText { From 2c1c431afac21572fae393aee380e35903e45768 Mon Sep 17 00:00:00 2001 From: Jason Henriquez Date: Sun, 27 Aug 2023 18:42:15 -0500 Subject: [PATCH 2/3] Add user-select:none to one more area --- src/renderer/scss-partials/_ft-list-item.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/renderer/scss-partials/_ft-list-item.scss b/src/renderer/scss-partials/_ft-list-item.scss index e5eafe134b1b..59d56713f955 100644 --- a/src/renderer/scss-partials/_ft-list-item.scss +++ b/src/renderer/scss-partials/_ft-list-item.scss @@ -85,6 +85,8 @@ $watched-transition-duration: 0.5s; .inner { grid-column: 1; grid-row: 1; + user-select: none; + -webkit-user-select: none; } .thumbnailLink { @@ -304,6 +306,8 @@ $watched-transition-duration: 0.5s; .live, .upcoming { text-transform: uppercase; + user-select: none; + -webkit-user-select: none; } // we use h3 for semantic reasons but don't want to keep the h3 style From cfa957345fa62d6e806f8ed10595274ff3a11ea4 Mon Sep 17 00:00:00 2001 From: Jason <84899178+jasonhenriquez@users.noreply.github.com> Date: Mon, 28 Aug 2023 13:32:17 +0000 Subject: [PATCH 3/3] Remove extraneous additional dash Co-authored-by: LQ2' --- src/renderer/App.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/App.css b/src/renderer/App.css index 14c361d08bcf..e6bceeb967f6 100644 --- a/src/renderer/App.css +++ b/src/renderer/App.css @@ -27,7 +27,7 @@ .flexBox { display: block; user-select: unset; - --webkit-user-select: unset; + -webkit-user-select: unset; } #changeLogText {