Skip to content

Option to disable auto focus? #3

@bitttttten

Description

@bitttttten

I have a form inside the modal, and after the modal has fully faded it, react-spring-modal is auto focusing on the first input. Since the form does appear before onRest is called the user can be entering in text in other control elements and then the code here makes the current control element loose focus as it attempts to focus on the first control element of the modal.

Is it possible to make this function / auto focus check optional?

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