Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat-request: disable autofocus to child as a prop #3

Open
semoal opened this issue Jun 15, 2020 · 1 comment
Open

feat-request: disable autofocus to child as a prop #3

semoal opened this issue Jun 15, 2020 · 1 comment

Comments

@semoal
Copy link

semoal commented Jun 15, 2020

I've run on a issue where i got one popover, with two input type="text" inside that, when i try to write on the second one, the focus is lost.

I'll try to implement a codesandbox for replicate the issue asap.

So, I think if we can disable the autofocus option we'll be enough by the moment

Thanks

@jaredLunde
Copy link
Member

Autofocus is a major part of what makes the library accessible so I can't really see myself offering this option. Happy to look at a CodeSandbox if you get around to replicating it. Make sure you're using the latest version because this sounds like a bug I fixed recently in useConditionalFocus().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants