-
-
Notifications
You must be signed in to change notification settings - Fork 783
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
Setup to allow autoFocus to work or something similar #1145
Comments
Could you share what you tried? Maybe a codesandbox? |
Sure thing! Here's a sandbox of the problem. |
Thanks. Yeah, the |
I'm thinking it may be useful to have an |
🎉 This issue has been resolved in version 14.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
When setting up react-dropzone there's no good way to auto focus the element.
I've tried using refs and auto focusing after mount but it doesn't work.
Is there a way to get this built directly into the library?
Does anyone know if there is a workaround to this?
Here's a sandbox demonstrating the problem.
https://stackblitz.com/edit/react-ts-kax8n9
The text was updated successfully, but these errors were encountered: