Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Non-blocking alert, prompt, and confirm #1655

Steveorevo opened this Issue · 1 comment

2 participants


This is a feature request. It would be great if we had native non-blocking versions of alert, prompt, and confirm whereby a third parameter was a callback function to receive results. I like that file dialogs are non-modal and do not block; this is a great while a window works in the background -it is very good.

However, alert, confirm, and prompt will stop all execution across node contexts and windows. I've implemented JS versions of non-blocking dialogs, but these will not have the same localization/look/feel of native dialogs. The fallback with no callback parameter is to invoke the blocking version (i.e. I have created, alert = function( message, callback ); ).

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.


It's used to be non-blocking. But it's requested to change back to blocking to remain the same behavior with browser. See #82 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.