chemerisuk / better-dateinput-polyfill

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

Not working with bootstrap 3 #122

Closed garak closed 4 years ago

garak commented 5 years ago

Datepicker is not showing correctly when used in a bootstrap (version 3.4.1) form. The height is limited and only four weeks are visible

If I remove bootstrap css, datepicker is working perfectly (e.g. like in provided demo). Attached screenshot in Firefox 68 on Ubuntu (I also tried in Explorer 11 in Windows, it's even worse: I can see only three weeks)

Senzanome

I checked for old similar issues, none found

devnix commented 4 years ago

Believe it or not, I think it's the font-size attribute set by Bootstrap 3 on html.

It renders OK for me if I add this CSS because I'm setting my required font-size on body:

html {
    font-size: initial;
}
chemerisuk commented 4 years ago

Fixed in v3.2.8