News for hackers. Stuff that matters.
Re:Smoke.js - A framework-agnostic styled alert/confirm syst... by libria on Sunday July 10, 2011 @10:48AM (#2747845)
I feel like the alert and confirm modals should not be allowed to be dismissed by clicking outside. Especially confirm: "Destroy all. Yes, No?" -> click outside...nothing.
Re:Smoke.js - A framework-agnostic styled alert/confirm syst... by beaumartinez on Sunday July 10, 2011 @01:25PM (#2748113)
It's the "panic" action, akin to a "close dialog" button. Clicking outside (should) default to the "safe" choice, in this case, "no".
Re:Smoke.js - A framework-agnostic styled alert/confirm syst... by nitrogen on Sunday July 10, 2011 @09:20PM (#2749111)
I would disagree. If there is a choice to be made, and that choice truly matters, I believe there should be no way to accidentally make the choice.