chemerisuk / better-dateinput-polyfill

input[type=date] polyfill
http://chemerisuk.github.io/better-dateinput-polyfill/
MIT License
259 stars 58 forks source link

Extended constructor for date input sometimes runs before CSS for the element is loaded #104

Closed juriejan closed 6 years ago

juriejan commented 6 years ago

Extended constructor for date input sometimes runs before CSS for the element is loaded, causing the CSS extracted and applied to the label element to be incorrect. I've implemented an interrim fix for this by reapplying the CSS on in '_syncValue' but believe there could be a better solution recommended someone more involved in the project.

chemerisuk commented 6 years ago

@juriejan please try version 3