Closed Bug 309353 Opened 19 years ago Closed 19 years ago

onScroll event doesn't fire for most situations

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 189308

People

(Reporter: schontz+bugs, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

When you attempt to listen on the window or document object's onScroll event,
the event is only fired if the user scrolls by clicking in the scrollbar
(arrows, dragging the scrollbar, clicking between arrow and bar). Events are
*not fired* in the following situations:
- page up/down
- arrow up/down left/right
- home/end
- scrollwheel

Reproducible: Always

Steps to Reproduce:
1. Create a page with lots o' content and an onscroll listener that alerts (or
notifies you somehow)
2. Scroll as many ways as you know how.
3. Notice that you only get the event fired when you are playing with the
scrollbar directly.



Expected Results:  
You'd expect the event to be fired whenever you scroll a page regardless of the
means of scrolling. I think that firing the event on scrollwheel movement is
especially critical as it seems to be the way that folks use to scroll through
content these days.
Please test with a nightly trunk build. This should be fixed in current trunk
builds:
http://ftp.scarlet.be/pub/mozilla.org/firefox/nightly/latest-trunk/
You're using an old release. 
"be sure that you've reproduced your bug using a build released within the past
three days. Our development process moves at lightning speed, and the bug you've
found may already have been fixed."
http://www.mozilla.org/quality/bug-writing-guidelines.html

The bug description you give fits exactly bug 189308.

*** This bug has been marked as a duplicate of 189308 ***

*** This bug has been marked as a duplicate of 189308 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.