Skip to content
Prev Previous commit
Next Next commit
fix(scroll): scroll to top after navigation end
  • Loading branch information
nmykhalkevch-exoft committed Sep 15, 2025
commit 54dbdf162417f2e8103cb0db749248ae07bc6f9c
2 changes: 1 addition & 1 deletion src/app/core/components/root/root.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { ChangeDetectionStrategy, Component, inject } from '@angular/core';
import { toSignal } from '@angular/core/rxjs-interop';
import { RouterOutlet } from '@angular/router';

import { ScrollTopOnRouteChangeDirective } from '@osf/shared/directives/scroll-top.directive';
import { ScrollTopOnRouteChangeDirective } from '@osf/shared/directives';
import { IS_MEDIUM, IS_WEB } from '@osf/shared/helpers';

import { BreadcrumbComponent } from '../breadcrumb/breadcrumb.component';
Expand Down
1 change: 1 addition & 0 deletions src/app/shared/directives/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export { ScrollTopOnRouteChangeDirective } from './scroll-top.directive';
export { StopPropagationDirective } from './stop-propagation.directive';
Loading