Set `visibility: hidden` on menu if not visible (fixes #1025)
parent
5ecad543e6
commit
62588c3ed4
|
@ -26,10 +26,13 @@
|
|||
overflow: visible;
|
||||
height: 0;
|
||||
width: 0;
|
||||
visibility: hidden;
|
||||
z-index: -1;
|
||||
|
||||
&.is-visible {
|
||||
&.is-visible,
|
||||
&.is-animating {
|
||||
z-index: 999;
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue