Update MegaMenu.vue

pull/6577/head
tugcekucukoglu 2024-10-15 09:02:33 +03:00
parent d8326609f2
commit 346d90127a
1 changed files with 1 additions and 1 deletions

View File

@ -291,7 +291,7 @@ export default {
if (!this.mobileActive) {
focus(this.menubar);
this.menubar.scrollIntoView({ block: 'nearest', inline: 'nearest', behavior: 'smooth' });
this.menubar.scrollIntoView && this.menubar.scrollIntoView({ block: 'nearest', inline: 'nearest', behavior: 'smooth' });
}
} else {
if (grouped) {