mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-06 21:30:21 +03:00
fix: scrolling to the first item
This commit is contained in:
parent
bd9390a5bf
commit
94e505f35b
|
@ -210,6 +210,7 @@ export class MenuStore {
|
|||
|
||||
this.deactivate(this.activeItem);
|
||||
if (!item) {
|
||||
this.activeItemIdx = -1;
|
||||
this.history.replace('', rewriteHistory);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user