Consider adding a min-height to the browser window
Categories
(Firefox :: General, enhancement, P3)
Tracking
()
People
(Reporter: mak, Unassigned)
References
Details
When the window shrinks to zero-height content, the urlbar results are overflowed and unusable. We should consider adding a min-height to the window.
Reporter | ||
Updated•5 years ago
|
Comment 1•5 years ago
|
||
Secondary UI imposing a minimum height for the whole browser window seems like a bad precedent. I think this is probably the wrong tradeoff and users will be less happy about being prevented from resizing the window as they wish.
Reporter | ||
Comment 2•5 years ago
|
||
What's the use case to put content at zero height?
I can understand in the past it was necessary to test websites in short windows, but now devtools provide much better replacements.
Comment 3•5 years ago
|
||
(In reply to Marco Bonardo [:mak] from comment #2)
What's the use case to put content at zero height?
I'm not saying there is one, but pretty sure people can come up with all kinds of esoteric use cases for anything >0. And in order to fit all of the urlbar view, we'd have to pick a really tall min-height, likely much taller than what other browsers allow. (Tested this briefly, old-school Edge has something like a 200px min height, Chrome has none on Ubuntu.)
Reporter | ||
Comment 4•5 years ago
•
|
||
(In reply to Dão Gottwald [::dao] from comment #3)
I'm not saying there is one, but pretty sure people can come up with all kinds of esoteric use cases for anything >0.
That is true for pretty much every change we make. So there must be a clear use-case we would be breaking.
(In reply to Dão Gottwald [::dao] from comment #3)
And in order to fit all of the urlbar view, we'd have to pick a really tall min-height, likely much taller than what other browsers allow. (Tested this briefly, old-school Edge has something like a 200px min height, Chrome has none on Ubuntu.)
We don't have to. The problem here is that when height is zero the panel is completely invisible, and that is a problem because the user may not easily notice there is an overflow. Edge has a min-height exactly for this reason, I think.
If we'd provide some kind of min-height, we at least show a part of the urlbar panel, and the user can decide to resize the window to see it, or ignore it. If we don't provide a min-height and the content is at zero height, the view is completely invisible and the user may not even notice it's overflowing.
Additionally the overflow covers the pre-selected result, that tells what happens when confirming the typed text. As a minimum that should always stay visible.
Reporter | ||
Comment 5•5 years ago
|
||
So yes, I'm suggesting our min-height is more or less what old-school Edge is doing, it should ensure that at least the first result is visible.
Comment 6•5 years ago
|
||
Okay, if the goal isn't to show all of the results panel, then this seems much more feasible.
Updated•2 years ago
|
Description
•