Closed Bug 312545 Opened 19 years ago Closed 19 years ago

window.onscroll event in javascript only fired if scrollbar pushed with mouse pointer, not if page is scrolled with keyboard or mousewheel.

Categories

(Firefox :: General, defect)

x86
Windows 98
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 189308

People

(Reporter: bennybolin, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Win98; sv-SE; rv:1.7.12) Gecko/20050919 Firefox/1.0.7 (ax)
Build Identifier: Mozilla/5.0 (Windows; U; Win98; sv-SE; rv:1.7.12) Gecko/20050919 Firefox/1.0.7 (ax)

window.onscroll event in javascript only fired if scrollbar pushed with mouse
pointer, not if page is scrolled with keyboard or mousewheel or any other way.

It does not work when anchor is clicked to navigate within the same page.

Reproducible: Always



Expected Results:  
Internet explorer always fires the event, as long the page scroll.
It does not matter how the scrolling is done.

The menu with anchors in top of webpage http://hem.bredband.net/benbol/is
designed to always be on top of the page, by using window.onscroll event.
But it only works when pushing the scrollbar with mouse pointer.
Fixed in nigtly builds/betas btw.

*** 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.