overflow: visible on textarea isn't applied
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
People
(Reporter: say_ten, Unassigned)
References
Details
Attachments
(4 files)
Reporter | ||
Comment 1•22 years ago
|
||
![]() |
||
Comment 2•22 years ago
|
||
Comment 3•22 years ago
|
||
Comment 4•21 years ago
|
||
Comment 7•21 years ago
|
||
![]() |
||
Comment 8•21 years ago
|
||
![]() |
||
Comment 9•21 years ago
|
||
![]() |
||
Comment 10•21 years ago
|
||
![]() |
||
Comment 11•21 years ago
|
||
Comment 12•21 years ago
|
||
Comment 13•20 years ago
|
||
Comment 14•20 years ago
|
||
Updated•20 years ago
|
Comment 15•20 years ago
|
||
Comment 16•20 years ago
|
||
Comment 17•20 years ago
|
||
Comment 18•20 years ago
|
||
Comment 19•20 years ago
|
||
Comment 20•20 years ago
|
||
Comment 21•19 years ago
|
||
Updated•16 years ago
|
Comment 22•14 years ago
|
||
Comment 23•12 years ago
|
||
Comment 24•12 years ago
|
||
Updated•2 years ago
|
Comment 25•2 years ago
|
||
The severity field for this bug is relatively low, S3. However, the bug has 12 votes.
:emilio, could you consider increasing the bug severity?
For more information, please visit auto_nag documentation.
Comment 26•2 years ago
|
||
Textarea should always be scrollable, I don't think any other browser does something different here.
Comment 27•2 years ago
|
||
(In reply to gibwalker from bug 984275 comment #2)
It would be incredibly helpful if
overflow: visible
could be set on textarea elements. It's mind-boggling that this can't be done.
Can you elaborate on why? comment #26 seems reasonable to me but if there's something we're missing, understanding that would be useful.
Comment 28•2 years ago
•
|
||
(In reply to Emilio Cobos Álvarez (:emilio) from comment #26)
Textarea should always be scrollable, I don't think any other browser does something different here.
Turns out people can't comment on closed bugs anymore without editbugs, so the person commenting in 984275 couldn't reply to my needinfo here. But they wrote:
(In reply to gibwalker from bug 984275 comment #6)
Two simple use cases [for using
overflow:visible
on a textarea]
I want to print a page containing overflowing user input in textareas directly to pdf:
@media print{
TEXTAREA {overflow:visible;}
}A wysiwyg visual design (imagine a postcard) where users need to be able to both input text AND resize the element itself. You can see right away if users can resize the element, it is incredible helpful to not have scrollbars popping up all over the place. The visual design needs to have no scrollbars whatsoever, but making contenteditable divs is a much messier solution and isn't as accessible etc.
Anyway, hope this context is a bit more helpful. Happy to elaborate on anything else if needed.
These seem reasonable to me at first glance. Is this something that the CSSWG (or whoever makes calls like this) could reconsider, and/or could we reopen this bug?
Comment 29•2 years ago
|
||
(In reply to :Gijs (he/him) from comment #28)
(In reply to Emilio Cobos Álvarez (:emilio) from comment #26)
Textarea should always be scrollable, I don't think any other browser does something different here.
Turns out people can't comment on closed bugs anymore without editbugs, so the person commenting in 984275 couldn't reply to my needinfo here. But they wrote:
(In reply to gibwalker from bug 984275 comment #6)
Two simple use cases [for using
overflow:visible
on a textarea]
- I want to print a page containing overflowing user input in textareas directly to pdf:
@media print{
TEXTAREA {overflow:visible;}
}
But that wouldn't move e.g. elements at the bottom of the textarea, it'd just overlap with the overflowing content. It seems what you really want is a way to auto-size the textarea to its contents, which is https://github.com/whatwg/html/issues/6807
- A wysiwyg visual design (imagine a postcard) where users need to be able to both input text AND resize the element itself. You can see right away if users can resize the element, it is incredible helpful to not have scrollbars popping up all over the place. The visual design needs to have no scrollbars whatsoever, but making contenteditable divs is a much messier solution and isn't as accessible etc.
Hiding the scrollbars with scrollbar-width: none
seems like it'd solve this one right?
These seem reasonable to me at first glance. Is this something that the CSSWG (or whoever makes calls like this) could reconsider, and/or could we reopen this bug?
At a glance what most people want is auto-sizing. overflow: visible
doesn't give you much if your size doesn't change with your contents. If we were to allow overflow: visible
on textarea, I suspect the biggest issue here is going to be backwards compatibility. You could make the same case for <input type=text>
and other replaced elements as well, right?
But if there's a good use case for that then a new html issue like the one linked above is the way to go.
Description
•