Closed Bug 224011 Opened 21 years ago Closed 21 years ago

onscroll not triggered when using scrollwheel, arrow keys, or pgup/pgdn keys

Categories

(Core :: DOM: Events, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 189308

People

(Reporter: kevinar18, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6a) Gecko/20031023 Firebird/0.7+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6a) Gecko/20031023 Firebird/0.7+

When you have an onscroll event on a page, and the user uses the scrollwheel to
scroll up and down the page, then the onscroll event does not get triggered.

Reproducible: Always

Steps to Reproduce:
1. Create a page in javascript that relies on an onscroll trigger.
2. Then on that page, use the scrollwheel to scroll up and down the page.

Actual Results:  
The onscroll event never gets triggered.

Expected Results:  
Whatever you told to happen "onscroll" should happen.

I encountered this issue in trying to make some javascript on
srategyinformer.com work in Mozilla/Mozilla Firebird.

Also, this bug may be related to Bug 218535.  It may even be possible the root
causes or the same, or that this bug is dependent on Bug 218535, but I really
don't.  So, for anyone looking at this, bug you might also want to look at Bug
218535 as well.
Attached file A Simple Testcase
This is a simplified testcase based on the code that was provided to me by
strategyinformer.com

To see the effect in action, scroll down the page using the scrollbar in the
browser.
Then try scrolling using the scrollwheel on your mouse.
Verified Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6a) Gecko/20031025
Firebird/0.7+ (Mike Tigas (Nova); SVG-DOMi-Venkman; i686)

I'll go hunt up some Linux people.
Confirmed on Linux as well. I get the dialog using the scollbar and scroll
buttons but not when using the scrollwheel or the up/down arrow keys or the Page
Up/Down keys.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Thanks for the confirmation, and thank you for that additional note, David.

I've changed the Summary, to reflect that information.
Keywords: testcase
Summary: onscroll does not get triggered when using the scrollwheel on the mouse → onscroll not triggered when using scrollwheel, arrow keys, or pgup/pgdn keys

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

Attachment

General

Creator:
Created:
Updated:
Size: