jackmoore / autosize

Autosize is a small, stand-alone script to automatically adjust textarea height to fit text.
http://www.jacklmoore.com/autosize/
MIT License
5.1k stars 702 forks source link

Padding bottom not working with Firefox ? #389

Closed crmb closed 3 years ago

crmb commented 3 years ago

Firefox 88, padding-bottom doesn't seems to have any effect once you fill the textarea. Last line is positioned just at the end of the textarea without any padding.

jackmoore commented 3 years ago

It's true, I had to update to v88 to verify. Not sure what's to be done about it yet, but thanks for reporting.

jackmoore commented 3 years ago

Looked into this more and while I couldn't find a ticket about it on the mozilla buglist, it sure looks like an object model bug (or intentional design choice). If Autosize is removed from the equation, Firefox still loses the bottom padding if text fills the textarea. It seems like a regression to me, but I don't think there is anything more to be done because Autosize is in keeping with the default behavior. Discussion is open, but I'm going to close as won't fix for now.

jackmoore commented 3 years ago

Ah, here we go: https://bugzilla.mozilla.org/show_bug.cgi?id=748518

It's a general layout bug relating to anything with bottom padding and scrollable overflow. Noticed the issue on a project unrelated to textarea elements.

crmb commented 2 years ago

I checked today (FF 94) and it seems it has been fixed since.