From de715921e52277f72d02f03ecfdc48e33f8d2312 Mon Sep 17 00:00:00 2001 From: Nicolas Merget Date: Fri, 5 Jul 2024 15:29:00 +0200 Subject: [PATCH] fix: issue with popover visibility, replaced with display:none --- packages/components/src/styles/_popover-component.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/components/src/styles/_popover-component.scss b/packages/components/src/styles/_popover-component.scss index 40e45b2b86d..38d8c2656b6 100644 --- a/packages/components/src/styles/_popover-component.scss +++ b/packages/components/src/styles/_popover-component.scss @@ -151,7 +151,7 @@ $popover-gap-inset: calc(-1 * #{$popover-gap-size}); } %show-popover { - visibility: visible; + display: inherit; &:not([data-placement]):not([data-outside-vy]), &[data-placement^="bottom"]:not([data-outside-vy]), @@ -186,7 +186,7 @@ $popover-gap-inset: calc(-1 * #{$popover-gap-size}); position: absolute; background-color: colors.$db-current-color-bg-lvl-1-enabled; box-shadow: variables.$db-elevation-md; - visibility: hidden; + display: none; z-index: 1; white-space: nowrap;