This commit is contained in:
Vanessa 2023-03-16 22:18:27 +08:00
parent 7a8d4d4e62
commit ad0b625db8
3 changed files with 31 additions and 15 deletions

View file

@ -50,6 +50,8 @@ export class Menu {
itemElement.classList.add("b3-menu__item--show");
if (!this.element.classList.contains("b3-menu--fullscreen")) {
this.showSubMenu(subMenuElement);
} else {
this.element.scrollTop = 0
}
});
}