Page redraws unnecessarily if select tag contains more options than are visible

RESOLVED WORKSFORME

Status

()

Firefox
General
RESOLVED WORKSFORME
7 years ago
3 years ago

People

(Reporter: Steve Gullion, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729; .NET4.0E)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729; .NET4.0E)

If I insert (via Ajax) a select tag on a page, which select tag 1) allows for multiple select, 2) displays three items (size="3"), and 3) has more than three total options, so that the vertical scroll is active, the entire page repaints (an ugly flash). The page is fairly complex, and the select is inside a table cell. The html in question (the table and a couple of wrapper divs) is also being loaded into a div via Ajax. 

Removing the select eliminates the redraw. If the select has all options visible, that eliminates the redraw.

My ugly workaround is to hide the outermost div on load and use setTimeout to fade it in after 300ms. It works and isn't noticeable to the user. Would be nice if it weren't necessary.

Reproducible: Always

Steps to Reproduce:
See details.
Actual Results:  
Page flash and repaint.

Expected Results:  
Smooth fade in of loaded element
Can you provide a reduced Testcase showing the Issue and attach it to this Report?
Also, can you test against a recent Nightly Build (http://nightly.mozilla.org/)?
Keywords: testcase-wanted
(Reporter)

Comment 2

7 years ago
Update: I tested this in 4.0 Beta 9 and the code worked as expected; i.e., the bug is no longer present. Don't know what the priority is for fixing 3.6+ bugs, but I'll mark it resolved.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
Setting WFM in this Case unless you want to pinpoint a certain Checkin fixing this by checking past Trunk Nightly Builds.
Resolution: FIXED → WORKSFORME
Keywords: testcase-wanted
You need to log in before you can comment on or make changes to this bug.