Skip to content

A platform for community discussion. Free, open, simple.

FIX: disable text select on sidebar (#20871)

Krzysztof Kotlarekb854fa8cdbbb
diff --git a/app/assets/stylesheets/common/base/sidebar.scss b/app/assets/stylesheets/common/base/sidebar.scss
index 505db8a11a2..57d4942efd0 100644
--- a/app/assets/stylesheets/common/base/sidebar.scss
+++ b/app/assets/stylesheets/common/base/sidebar.scss
@@ -29,6 +29,13 @@
position: sticky;
top: var(--header-offset);
+ -webkit-touch-callout: none !important;
+ -webkit-user-select: none !important;
+ -moz-user-select: none !important;
+ -ms-user-select: none !important;
+ -o-user-select: none !important;
+ user-select: none;
+
.footer-nav-ipad & {
top: calc(var(--header-offset) + var(--footer-nav-height));
height: calc(