Open Bug 1157431 Opened 10 years ago Updated 2 years ago

The thumb on an overlay scrollbar disappears when scrolling in a small textarea

Categories

(Core :: Layout, defect)

x86
macOS
defect

Tracking

()

Tracking Status
firefox40 --- affected

People

(Reporter: smontagu, Unassigned)

Details

Attachments

(1 file)

Attached file Testcase
With overlay scrollbars turned on, scrolling down in a textarea with only two lines makes the scrollbar thumb gradually shrink and disappear. Resizing the textarea makes it reappear again.
I think this is by design, but I've forgotten where it's implemented. This probably looks at the minimum size of the thumb. The thumb's minimum size is fairly large because at the time overlay scrollbars were implemented, OS X couldn't draw them any smaller - if you asked for something smaller, it would just draw at the larger minimum size and overflow your draw rect.
I could understand that if there was *never* a thumb in a small textarea, but the testcase starts out with a fine-looking thumb which gets gradually smaller while scrolling down until it disappears completely.
Huh, okay, that's weird.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: