Skip to content
Snippets Groups Projects
Commit 257a8ae6 authored by Pierre Ecarlat's avatar Pierre Ecarlat
Browse files

Merge branch 'dev' into 680-backoffice-tempusers-n-affiche-pas-les-structures-noms-date-d-ajout

parents 6de24018 5f66f4dc
No related branches found
No related tags found
1 merge request!989fix: Fix display of tempUsers in backoffice
Pipeline #124373 passed
......@@ -162,10 +162,6 @@ export class OrientationFormViewComponent implements OnInit, AfterContentChecked
public validatePage(event: boolean): void {
this.isPageValid = event;
const mainHeader = document.querySelector('#pageTitle');
if (mainHeader) {
(mainHeader as HTMLElement)?.focus();
}
}
public setFailedOrientation(): void {
......@@ -263,6 +259,7 @@ export class OrientationFormViewComponent implements OnInit, AfterContentChecked
this.updateHiddenNavButtons();
this.updateFullScreen();
this.updateLastStep();
this.focusOnTop();
}
public prevPage(): void {
......@@ -278,6 +275,7 @@ export class OrientationFormViewComponent implements OnInit, AfterContentChecked
this.updateHiddenNavButtons();
this.updateFullScreen();
this.updateLastStep();
this.focusOnTop();
}
private goToNextStep(): void {
......@@ -437,6 +435,13 @@ export class OrientationFormViewComponent implements OnInit, AfterContentChecked
this.filters = [];
}
private focusOnTop(): void {
const mainHeader = document.querySelector('#pageTitle');
if (mainHeader) {
(mainHeader as HTMLElement)?.focus();
}
}
/**
* Indicators
*/
......
......@@ -18,6 +18,8 @@
gap: 32px;
width: 100%;
max-width: 1030px;
margin-right: auto;
margin-left: auto;
@media #{$tablet} {
padding: 24px;
}
......
......@@ -53,6 +53,8 @@
gap: 32px;
width: 100%;
max-width: 1030px;
margin-right: auto;
margin-left: auto;
@media #{$tablet} {
padding: 24px;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment