Closed Bug 296803 Opened 20 years ago Closed 20 years ago

Drop down box disappears too soon when displayed above

Categories

(Core :: Layout: Form Controls, defect)

defect
Not set
major

Tracking

()

VERIFIED FIXED

People

(Reporter: mcm.ham, Unassigned)

References

()

Details

(Keywords: regression, testcase)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050605 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050605 Firefox/1.0+ Drop down boxes do not remain when they appear above but do when they appear below. Reproducible: Always Steps to Reproduce: 1. Go to a site with drop down boxes like the URL linked in bug report. 2. Single click on the down arrow to bring up the menu. 3. Try when the drop down box is near the top. 4. Try when the drop down box is near the bottom. Actual Results: When the menu displays above the drop down box it disappears as soon as it appears. But when the menu displays below the drop down box it remains as expected. This happens on other sites as well. This first appeared with the 20050602 trunk builds.
I can confirm. Mozilla/5.0 (Windows; U; Win95; en-US; rv:1.8b2) Gecko/20050606 Firefox/1.0+
Summary: Drop down boxes do not remain → Drop down box does not remain when displayed above
Confirmed, OS X Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050605 Firefox/1.0+ ID:2005060515
OS: Windows XP → All
Works with 2005-06-01 build, fails with 2005-06-02 build. I think a regression from fixing bug 290428. Clicking on the down arrow works for me, though. But when clicking on the text in the combobox, the popup immediately closes when the popup opens above, when I release my mouse button. When the popup opens below, everything works all right, the popup stays open, I've released my mouse button.
Blocks: 290428
Keywords: regression, testcase
This does not occur when clicking on the arrow-down button to drop down the box. Only when clicking in the box itself (the text in it) I get these problems.
(In reply to comment #5) > This does not occur when clicking on the arrow-down button to drop down the box. > Only when clicking in the box itself (the text in it) I get these problems. No, it'll only stay up if it contains a scrollbar and you press on the arrow, if not, it'll collapse when you click on the arrow. try the "Version" dropdown on this page
Summary: Drop down box does not remain when displayed above → Drop down box disappears too soon when displayed above
*** Bug 297077 has been marked as a duplicate of this bug. ***
Flags: blocking1.8b3?
*** Bug 297491 has been marked as a duplicate of this bug. ***
Note that this occurs on Mac as well, hardware should be changed to "All".
Hardware: PC → All
Comment on attachment 186080 [details] [diff] [review] fix check if click was in dropped-down (dopped-up) box That'll do. Thanks, I was just about to get to this, honest :-) This is a must-have for 1.8b3, it's a serious UI regression
Attachment #186080 - Flags: superreview+
Attachment #186080 - Flags: review?(roc)
Attachment #186080 - Flags: review+
Attachment #186080 - Flags: approval1.8b3?
Attachment #186080 - Flags: approval1.8b3? → approval1.8b3+
Actually it should be if ((pt.y >= bounds.y) && (pt.y < bounds.YMost())) { I'll check this in.
checked in
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Flags: blocking1.8b3?
Verified FIXED using build 2005-06-18-06 in Seamonkey trunk builds on Windows XP.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: