Replace visibility property with display for hiding popover

This commit is contained in:
Tanya Fomina 2022-04-08 23:56:02 +08:00
parent c29d244194
commit af521cf6f2

View file

@ -1,9 +1,8 @@
.ce-popover { .ce-popover {
position: absolute; position: absolute;
opacity: 0; opacity: 0;
visibility: hidden;
will-change: opacity, transform; will-change: opacity, transform;
display: flex; display: none;
flex-direction: column; flex-direction: column;
padding: 4px; padding: 4px;
min-width: 200px; min-width: 200px;
@ -19,7 +18,7 @@
&--opened { &--opened {
opacity: 1; opacity: 1;
visibility: visible; display: flex;
animation: panelShowing 100ms ease; animation: panelShowing 100ms ease;
@media (--mobile) { @media (--mobile) {