Vanessa 2025-02-27 17:30:07 +08:00
parent 93bb1c485c
commit ee9a02f904
2 changed files with 16 additions and 4 deletions

View file

@ -24,7 +24,10 @@ export class Menu {
if (lastShowElements.length > 0) {
lastShowElements[lastShowElements.length - 1].classList.remove("b3-menu__item--show");
} else {
this.remove();
this.element.style.transform = "";
setTimeout(() => {
this.remove();
}, Constants.TIMEOUT_DBLCLICK);
}
return;
}