Skip to content

Bug - Wizard - WizardWithDrawer example does not focus #8394

@XiangyuShen

Description

@XiangyuShen

Describe the problem
Inside the WizardWithDrawer example for the Wizard component, onExpand is never called because it can only be set on the component to work correctly, and is no longer declared in the examples, since that logic is abstracted via the hasDrawer prop. Because of this, the opened drawer is not given focus.

Expected behavior
When the drawer opens, the drawer (or rather the drawer's close button) should be given focus.

Any other information?
See #8287
Originally posted by @jenny-s51 in #8287 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions