Open Bug 442378 Opened 16 years ago Updated 10 months ago

Drag a scrollbar on a DIV which has been populated dynamically

Categories

(Core :: Panning and Zooming, defect)

defect

Tracking

()

People

(Reporter: stu_j, Unassigned)

References

()

Details

(Whiteboard: [testday-20110902])

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1a1pre) Gecko/2008062703 Minefield/3.1a1pre

When a DIV is populated dynamically using JavaScript and innerHTML with enough content to cause a vertical scrollbar to appear, dragging that scrollbar having previously clicked in the DIV doesn't scroll the contents.

Rather, a translucent image of the element "detaches" and moves with the mouse - i.e. the same behaviour as when you try and drag any static element, such as an image, in FF3.

I've tried this in IE7, Safari 3.1.2 and FF2 on Windoze. It's fine in those. Bug? 

Reproducible: Always

Steps to Reproduce:
1. Given an empty DIV
2. Click once inside it
3. Fill it dynamically with enough content to make a vertical scrollbar appear
4. Attempt to drag the scrollbar
5. Weirdness ensues
Actual Results:  
Firefox acts as if you're dragging a static page element, such as an image.

Expected Results:  
I expect the scrollbar to scroll the contents of the DIV.

I noticed this first in the version of FF3 I downloaded on June 17th. Tried again - as per the suggestions - with the latest "Minefield" build, and the problem is still there.
Confirmed.  (3.0 on Linux)
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
Keywords: regression
Version: unspecified → 3.0 Branch
Keywords: regression
Product: Firefox → Core
QA Contact: general → general
Version: 3.0 Branch → Trunk
Same problem here, this bug only happens on Firefox.
Some open bugs about scrollbars not working properly because they are a part of a selection:
bug 345312, bug 491079, bug 572504, bug 649684;
where the selection is because they are a part of an <a>: bug 367028.
Possibly also bug 464655.
Whiteboard: [testday-20110902]
Severity: normal → S3
Component: General → Panning and Zooming
You need to log in before you can comment on or make changes to this bug.