Skip to content

Commit

Permalink
Merge pull request #1044 from bcgov/bugfix/alcs-1166
Browse files Browse the repository at this point in the history
alcs-1166 next button scroll fix
  • Loading branch information
urmikgov authored Oct 10, 2023
2 parents 94ea6d4 + 6006127 commit 2faca07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion portal-frontend/src/app/app.component.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="site-layout">
<div class="site-layout" id="siteLayout">
<app-header *ngIf="showHeaderFooter"></app-header>
<div id="appBody" class="main-content">
<router-outlet></router-outlet>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export class EditSubmissionComponent implements OnInit, OnDestroy, AfterViewInit

async onStepChange($event: StepperSelectionEvent) {
// scrolls to step if step selected programmatically
scrollToElement({ id: `stepWrapper_${$event.selectedIndex}`, center: false });
scrollToElement({ id: `siteLayout`, center: false });
}

async saveApplication(step: number) {
Expand Down

0 comments on commit 2faca07

Please sign in to comment.