Skip to content

Commit

Permalink
Replace visibility property with display for hiding popover
Browse files Browse the repository at this point in the history
  • Loading branch information
TatianaFomina committed Apr 8, 2022
1 parent c29d244 commit af521cf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/styles/popover.css
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -19,7 +18,7 @@

&--opened {
opacity: 1;
visibility: visible;
display: flex;
animation: panelShowing 100ms ease;

@media (--mobile) {
Expand Down

0 comments on commit af521cf

Please sign in to comment.