disable pointer events while animating

This commit is contained in:
DispatchCommit 2021-01-29 17:50:19 -08:00
parent f991d5c87f
commit 4c7623f065

View file

@ -71,10 +71,12 @@
@keyframes menu-animate-in { @keyframes menu-animate-in {
0% { 0% {
transform: translateY(-100%); transform: translateY(-100%);
pointer-events: none;
opacity: 0; opacity: 0;
} }
100% { 100% {
transform: translateY(0); transform: translateY(0);
pointer-events: all;
opacity: 1; opacity: 1;
} }
} }