From af521cf6f29fb06b71a0e2e8ec88d6a757f9144f Mon Sep 17 00:00:00 2001 From: Tanya Fomina Date: Fri, 8 Apr 2022 23:56:02 +0800 Subject: [PATCH] Replace visibility property with display for hiding popover --- src/styles/popover.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/styles/popover.css b/src/styles/popover.css index 2516291f6..270702176 100644 --- a/src/styles/popover.css +++ b/src/styles/popover.css @@ -1,9 +1,8 @@ .ce-popover { position: absolute; opacity: 0; - visibility: hidden; will-change: opacity, transform; - display: flex; + display: none; flex-direction: column; padding: 4px; min-width: 200px; @@ -19,7 +18,7 @@ &--opened { opacity: 1; - visibility: visible; + display: flex; animation: panelShowing 100ms ease; @media (--mobile) {