Closed Bug 293414 Opened 20 years ago Closed 20 years ago

onscroll event doesn't fire if user scrolls using up or down cursor keys

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 189308

People

(Reporter: jdperlow, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3

The onscroll event should fire no matter how the browser is scrolled. It fires
if the user uses the mouse to scroll the window with the scrollbar. It doesn't
fire when the user scrolls using the cursor keys or the page-up page-down keys.

Reproducible: Always

Steps to Reproduce:
1.
<html>
<body onscroll="alert('onscroll');" >
  <div style="height:1000">foo</div>

</body>
</html>


2. Scroll the page using the cursor or page-down/up keys.
Actual Results:  
onscroll isn't fired.

Expected Results:  
onscroll should be fired.

*** This bug has been marked as a duplicate of 189308 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Component: DOM: HTML → DOM: Core & HTML
QA Contact: ian → general
You need to log in before you can comment on or make changes to this bug.