Update MegaMenu.vue
parent
d8326609f2
commit
346d90127a
|
@ -291,7 +291,7 @@ export default {
|
||||||
|
|
||||||
if (!this.mobileActive) {
|
if (!this.mobileActive) {
|
||||||
focus(this.menubar);
|
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 {
|
} else {
|
||||||
if (grouped) {
|
if (grouped) {
|
||||||
|
|
Loading…
Reference in New Issue