4
The padding-bottom
in a <textarea>
, works normally on Google Chrome and in other browsers when scrolling the scrollbar, but in Firefox the spacing is always "fixed" and the texts appear cut.
Difference in Opera (based on Chromium) and Firefox:
The problem only occurs in Firefox, other browsers work normally. The bug is listed in Bugzilla https://bugzilla.mozilla.org/show_bug.cgi?id=1099204
I would like to know if it is possible to get around this? For example to exchange the padding for something else.
Example of the problem:
.foo {
box-sizing: border-box;
width: 400px;
height: 200px;
padding-bottom: 150px;
}
<textarea class="foo">
Bacon ipsum dolor amet ground round cow chuck tail t-bone ribeye jowl
meatloaf ham turducken. Cupim boudin frankfurter pig, hamburger drumstick
beef ribs kielbasa pastrami tri-tip. Beef ribs turkey porchetta, pastrami ham
meatball sirloin frankfurter venison. Pastrami brisket chicken shoulder,
landjaeger chuck burgdoggen alcatra. Tongue shank boudin jerky chicken capicola
pork loin kevin burgdoggen tri-tip. Chicken meatloaf spare ribs bresaola,
bacon porchetta leberkas drumstick sausage.
</textarea>
Excellent suggestion, I will try to implement, however it can be a headache for those who need simple texts, would have to put a filter in the input events and Paste. But it’s a great idea yet, if nothing else comes along I’ll choose your suggestion :)
– Guilherme Nascimento