fix: scrolling to the first item

This commit is contained in:
Alex Varchuk 2021-09-20 16:13:59 +03:00
parent bd9390a5bf
commit 94e505f35b

View File

@ -210,6 +210,7 @@ export class MenuStore {
this.deactivate(this.activeItem); this.deactivate(this.activeItem);
if (!item) { if (!item) {
this.activeItemIdx = -1;
this.history.replace('', rewriteHistory); this.history.replace('', rewriteHistory);
return; return;
} }