Closed Bug 285420 Opened 20 years ago Closed 20 years ago

mouse wheel scroll does not work on elements with the "overflow: auto;" style

Categories

(SeaMonkey :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 97283

People

(Reporter: w.d.a.vandenbosse, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616

Page http://www.deromeinselijn.nl/inzendingen.php?id=01GRE contains a div which
has an "overflow: auto;" style attribute set to it (it is <div id="ctainer">).
It contains the main content of the page. When the content of this div is larger
than the size of the div scrollbars are shown as expected. However it is not
possible to use the mouse scroll wheel to scroll the content of this div.
There is one exception: when you click on one of the links in this div, which
links to an anchor in this div, you can use the scroll wheel to scroll the
content of the div. But when you click somewhere else within this div, you
cannot scroll the content of this div anymore.

This has been described on http://www.quirksmode.org/viewport/experiments.html
as well:
"Mozilla and Opera have an idiosyncracy that comes in very handily in these
tests: an element with overflow: auto does not react to the mouse wheel, it can
only be scrolled by dragging the scrollbar. Using the mouse wheel is only
possible when scrolling the entire page."

Reproducible: Always

Steps to Reproduce:
1. goto http://www.deromeinselijn.nl/inzendingen.php?id=01GRE#lijn
2. try to scroll the content which shows up under text "De Grensovergang" using
the mouse wheel. No succes.
3. click on link "de lijn" and notice that you can scroll with the mouse wheel
4> click somewhere else on the page and you cannot scroll with the mouse wheel
anymore

Actual Results:  
 see steps and details.

Expected Results:  
scroll the content of any element in the page which has scroll bars with the use
of the mouse wheel.

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