Hide popover via setting max-height to 0 to fix animation in safari

This commit is contained in:
Tanya Fomina 2022-04-10 22:46:15 +08:00
parent c3b2a44673
commit eb1a7128da

View file

@ -1,16 +1,15 @@
.ce-popover {
position: absolute;
opacity: 0;
visibility: hidden;
will-change: opacity, transform;
display: flex;
flex-direction: column;
padding: 4px;
min-width: 200px;
max-height: 284px;
overflow: hidden;
box-sizing: border-box;
flex-shrink: 0;
max-height: 0;
@apply --overlay-pane;
@ -19,7 +18,7 @@
&--opened {
opacity: 1;
visibility: visible;
max-height: 284px;
animation: panelShowing 100ms ease;
@media (--mobile) {