Drag a scrollbar on a DIV which has been populated dynamically

NEW
Unassigned

Status

()

10 years ago
7 years ago

People

(Reporter: stu_j, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [testday-20110902], URL)

(Reporter)

Description

10 years ago
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.
(Reporter)

Comment 1

10 years ago
Test page:

http://www.gingerbbm.pwp.blueyonder.co.uk/ff3/test.html

Comment 2

10 years ago
Confirmed.  (3.0 on Linux)
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All

Updated

10 years ago
Keywords: regression
Version: unspecified → 3.0 Branch

Updated

10 years ago
Keywords: regression

Updated

10 years ago
Component: General → General
Product: Firefox → Core
QA Contact: general → general
Version: 3.0 Branch → Trunk

Comment 3

9 years ago
Same problem here, this bug only happens on Firefox.

Comment 4

7 years ago
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.

Updated

7 years ago
Whiteboard: [testday-20110902]
You need to log in before you can comment on or make changes to this bug.