Skip to content

focusing before animation ends screws up keyboard nav #7

@bmcmahen

Description

@bmcmahen

We could fix this by providing an onRest callback which, when called, will allow the user to properly focus in the active pane using the imperative api.

Alternatively, perhaps we can handle autoFocus inside the component since most devs might be too lazy to actually implement this properly anyway. In this case, we would only autofocus when it changes (not on mount)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions