xogroup / tk-form-fields

3 stars 1 forks source link

Refactor out :placeholder-shown CSS pseudo-class #6

Open nycdavid opened 8 years ago

nycdavid commented 8 years ago

:placeholder-shown has uneven support across browsers and breaks:

In IE and Firefox

GeorgeTaveras1231 commented 7 years ago

I've been thinking about this lately. The downside of not using :placeholder-shown Is that we will require more JavaScript to drive the UX features of the field. I think at this point I'm fine with adding more JavaScript because we are using JavaScript to drive some ux features already. But this wasn't always the case.

GeorgeTaveras1231 commented 7 years ago

Also, my hopes were that the fields were gracefully degrading on the unsupported browsers.