LeaVerou / stretchy

Form element autosizing, the way it should be
https://stretchy.verou.me/
Other
1.27k stars 87 forks source link

fix for #24, calculation of input with content-box box-sizing #25

Closed anfedorov closed 7 years ago

anfedorov commented 7 years ago

I tested this on the latest Firefox, Safari, and Chrome.

Stretchy doesn't seem to work on Edge at all and I don't have a machine with IE handy, but this should work there, as well, since it has supported min-width since IE7 and there do not appear to be any reports about it having a buggy implementation in newer versions.

LeaVerou commented 7 years ago

Thanks! IE misreports scrollWidth, see the note here: http://leaverou.github.io/stretchy/#browser-support