Skip to content

Commit db1af3d

Browse files
committed
Wizard-manager: Find first focusable step not hidden
1 parent 2e9245c commit db1af3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addon/services/wizard-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ export default class WizardManager extends Service {
182182
private findFirstFocusableStepInSection(sectionId: string): Step | undefined {
183183
const section = this.sections.find((section: Section) => section.id === sectionId);
184184
if (section) {
185-
return section.steps.find((step: Step) => step.displayState !== 'empty');
185+
return section.steps.find((step: Step) => step.displayState !== 'empty' && !step.hidden);
186186
}
187187
return undefined;
188188
}

0 commit comments

Comments
 (0)