nodebox / live

Report issues with NodeBox Live
1 stars 0 forks source link

avoid prompt() for inputs #6

Open fjenett opened 7 years ago

fjenett commented 7 years ago

Avoid use of JS prompt() in general and especially for multi-line inputs as with the stickies.

fjenett commented 7 years ago

… that is because it is not well designed in most browsers: the browser UI is much more prominent than the actual label / text to explain what the field asks for. Also it is not consistent across browsers.

fdb commented 7 years ago

You're absolutely correct. One issue we discovered is that in recent browsers, you can click a checkbox that will auto-dismiss all prompts, which breaks the UI.

screen shot 2016-11-29 at 12 17 10

We're in the process of replacing this with custom modals, and a special UI for the stickies.