Skip to content

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

UX: hide select-kits when the parent element is outside the viewport

Joe98671445a764
diff --git a/app/assets/stylesheets/common/select-kit/select-kit.scss b/app/assets/stylesheets/common/select-kit/select-kit.scss
index 8c10c28ed49..316beb4915e 100644
--- a/app/assets/stylesheets/common/select-kit/select-kit.scss
+++ b/app/assets/stylesheets/common/select-kit/select-kit.scss
@@ -175,6 +175,11 @@
max-height: 300px;
overflow-y: auto;
}
+
+ &[data-popper-reference-hidden] {
+ visibility: hidden;
+ pointer-events: none;
+ }
}
.select-kit-row {