-
Hmm—input[type=color]
change
events are a mess. Should firechange
*once* when dialog is closed. Tested on Mac. * Chrome fires oninput
: bugs.chromium.org/p/chromium/issues/detail?id=405059 * Safari doesn’t fire events (or, uh, work) if you open the “Show colors…” dialog * Firefox does it right 👍 -
Test case courtesy of @javan https://jsfiddle.net/javan/rd8ub733/ (JSFiddle URLs are apparently blocked by Twitter, you’ll have to copy and paste the URL 😱)
-
before y’all get salty about using the platform, keep in mind that the first React color picker demo I found used 889.14 KB of JavaScript 😱😱😱😱
-
add another dollar to the “Firefox does it right” jar and by that I mean donate.mozilla.org/