You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran over an issue specific to firefox 28 and older versions.
It seems there is a wrong implementation on padding in textarea in these browsers. https://bugzilla.mozilla.org/show_bug.cgi?id=157846
It means that scrollHeight is incorrectly calculated (not taking paddings in the calculation).
As you fix the issue if box sizing is padding box, it is not the case when box-sizing: border-box;
Moreover, if i add a min-height to the text area, I had a browser freeze due to the potential endless loop of update() calling changeOverflow() calling update() and so on.
I ran over an issue specific to firefox 28 and older versions.
It seems there is a wrong implementation on padding in textarea in these browsers.
https://bugzilla.mozilla.org/show_bug.cgi?id=157846
It means that scrollHeight is incorrectly calculated (not taking paddings in the calculation).
As you fix the issue if box sizing is padding box, it is not the case when box-sizing: border-box;
Moreover, if i add a min-height to the text area, I had a browser freeze due to the potential endless loop of update() calling changeOverflow() calling update() and so on.
You can test this on https://jsfiddle.net/dyvt9euf/6/ using a firefox 28 or older
I am working on a fix, right now.
The text was updated successfully, but these errors were encountered: