Skip to content

Commit

Permalink
fix: auth link scroll for Firerox (#1922)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexVarchuk authored Mar 14, 2022
1 parent 059bd80 commit fe67e9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/MenuStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}"]`);
}
Expand Down

0 comments on commit fe67e9c

Please sign in to comment.