Skip to content

Commit af521cf

Browse files
committed
Replace visibility property with display for hiding popover
1 parent c29d244 commit af521cf

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/styles/popover.css

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
.ce-popover {
22
position: absolute;
33
opacity: 0;
4-
visibility: hidden;
54
will-change: opacity, transform;
6-
display: flex;
5+
display: none;
76
flex-direction: column;
87
padding: 4px;
98
min-width: 200px;
@@ -19,7 +18,7 @@
1918

2019
&--opened {
2120
opacity: 1;
22-
visibility: visible;
21+
display: flex;
2322
animation: panelShowing 100ms ease;
2423

2524
@media (--mobile) {

0 commit comments

Comments
 (0)