From 629b0f1743672d9776e5ecee8ed01fe3dcb96090 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Thu, 25 Jan 2024 08:38:20 -0800 Subject: [PATCH] Eliminate screenreader content when copying and pasting data grid table (#1198) (#1220) * Eliminate screenreader content when copy paste of data grid table Signed-off-by: abbyhu2000 * add changelog Signed-off-by: abbyhu2000 * add it to current theme Signed-off-by: abbyhu2000 --------- Signed-off-by: abbyhu2000 (cherry picked from commit 386da22d8d693bc22a06482b0f2b54ed22229a59) Signed-off-by: github-actions[bot] # Conflicts: # CHANGELOG.md Co-authored-by: github-actions[bot] --- src/global_styling/mixins/_helpers.scss | 1 + src/themes/oui-next/global_styling/mixins/_helpers.scss | 1 + 2 files changed, 2 insertions(+) diff --git a/src/global_styling/mixins/_helpers.scss b/src/global_styling/mixins/_helpers.scss index ce347c1819..c1c2bcbf94 100644 --- a/src/global_styling/mixins/_helpers.scss +++ b/src/global_styling/mixins/_helpers.scss @@ -114,6 +114,7 @@ width: 1px; height: 1px; overflow: hidden; + user-select: none; } // Specifically target IE11, but not Edge. diff --git a/src/themes/oui-next/global_styling/mixins/_helpers.scss b/src/themes/oui-next/global_styling/mixins/_helpers.scss index ce347c1819..c1c2bcbf94 100644 --- a/src/themes/oui-next/global_styling/mixins/_helpers.scss +++ b/src/themes/oui-next/global_styling/mixins/_helpers.scss @@ -114,6 +114,7 @@ width: 1px; height: 1px; overflow: hidden; + user-select: none; } // Specifically target IE11, but not Edge.