SELECT menus cut off on low-resolution monitors

UNCONFIRMED
Unassigned

Status

()

UNCONFIRMED
7 years ago
7 years ago

People

(Reporter: nathan, Unassigned)

Tracking

8 Branch
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
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.
You need to log in before you can comment on or make changes to this bug.