Open Bug 704051 Opened 12 years ago Updated 6 months ago

SELECT menus cut off on low-resolution monitors


(Firefox :: General, defect)

8 Branch
Windows 7





(Reporter: nathan, Unassigned)


User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Build ID: 20110928134238

Steps to reproduce:

Tried to open a long list in a form select element on a 768px-high laptop monitor.

Actual results:

Because the menu was located near the center of the page vertically, there was not enough space for it to open downward.  In this case, Firefox instead opens the menu upward.  However, with this (common for budget laptops) low-res monitor, there was not enough space there either, so the menu was simply cut off with no way to access the top.

Expected results:

Basically there needs to be a check of whether a select menu will not fit downward *or* upward, in which case it needs to either show less items at once (seemly a pretty easy fix, since it's already scrollable), or it needs to be shifted vertically.  Chrome takes the first approach, which I prefer as it guarantees that the entire menu will always be accessible regardless of screen size, and it seems likely easier to code.  IE takes the second approach, which is also acceptable in most cases.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.