diff --git a/src/services/MenuStore.ts b/src/services/MenuStore.ts index 70fb45b0..e856f012 100644 --- a/src/services/MenuStore.ts +++ b/src/services/MenuStore.ts @@ -151,7 +151,7 @@ export class MenuStore { } else { if (id.startsWith(SECURITY_SCHEMES_SECTION_PREFIX)) { item = this.flatItems.find(i => SECURITY_SCHEMES_SECTION_PREFIX.startsWith(i.id)); - this.activate(item); + this.activateAndScroll(item, false); } this.scroll.scrollIntoViewBySelector(`[${SECTION_ATTR}="${id}"]`); }