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
Can not get autoFocus to work #75
Comments
Can confirm. Same issue here |
I did some investigation into this just now. The react-codemirror2 side of things: react-codemirror2/src/index.tsx Line 443 in 3250f58
if (options.autofocus && !mobile) display.input.focus() Instead, I hope that's helpful. I can't prioritize making a pull request for this right now, so I haven't looked into the best solution. |
@Adam13531 thanks for doing some investigative work on this, it'll surely help. I'm planning on knocking this out over the weekend and will post an update here |
@Adam13531 @121watts @fiws This should now be fixed with the 5.0.0 release. I've done away with the
|
awesome! thanks for the speedy response / resolution |
@scniro thanks a ton for the fix! I tried it out and it's working. |
The prop simply does nothing for me:
The text was updated successfully, but these errors were encountered: