Skip to content

First input in popup autofocuses #250

Open
@qubal

Description

@qubal

Greetings, traveller. Currently I'm facing a bug, which can shortly be described like: "First input in any popup autofocuses and neither "tabIndex: -1", nor "autofocus={'false'}" can help fixing it.

Version

2.0.4

Test Case

https://codesandbox.io/s/restless-shape-n5o0k?file=/src/index.tsx

Expected Behavior

I expect first input not to focus, i've already tried changing tabIndex and set autofocus false.

Actual Behavior

It, unexpectedly (wow!) autofocuses.

What can I do to fix it?

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