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
alert(), prompt() and confirm() have odd autofocus and keyboard shortcuts.. #1123
Comments
I just reproduced it on windows7 with |
I am also struggling with this on 0.7.2 with win8, specifically the issue with prompt() not focusing on the text field, which seems like it would be pretty annoying for the user. |
This still happens on node-webkit-v0.8.4 on windows 7. |
Same not focused |
I am having the same problems. When alert() is called, the resulting dialog does not seem to have focus. I have to manually select it, and after OK'ing it the main window doesn't have focus anymore, so I have to manually click on it to give it focus. (Chrome itself doesn't do this, interestingly.) |
@syegulalp you can use Bootbox or Alertify as replacement, they have dialogs for prompt/alert/confirm and much more |
I confirm the opening post, exactly the same with |
👍 |
This should be working with latest version now. In 0.13 we changed to an optimized architecture so more features can be supported, see http://nwjs.io/blog/whats-new-in-0.13/ and it's good for keeping up with Chromium upstream -- we released with Node.js v6.0 and new Chromium versions within 1 day after upstream release. The new version would fixed many issues reported here and we're scrubbing them. This issue is closed as we believe it should be fixed. Please leave a message if it isn't and we'll reopen it. |
whenever I call alert(), it autofocuses on [OK] fine, but I can only trigger it with the Space key, not Enter or Esc..
On prompt() it autofocuses on [OK] when it should focus on the text field.. I cannot move the focus with keyboard, only press Space to return "".
On confirm() it autofocuses on [Cancel] when it should focus on [OK].. Again I cannot move the focus with keyboard, only press Space to return false.
I'm running Windows 8 Pro..
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: