Closed
Bug 208224
Opened 23 years ago
Closed 23 years ago
mouse wheel do not send scroll message
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 189308
People
(Reporter: tony, Assigned: rogerl)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; zh-CN; rv:1.3.1) Gecko/20030425
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; zh-CN; rv:1.3.1) Gecko/20030425
It occured when I use the javascript scroll event in my homepage. In Javascript,
I write "onscroll=DoScroll", so that my function "DoScroll" will be called
whenever the user scroll the page. It works well in IE and Opera. But when it is
in the Mozilla, this funciton never be called when I use "wheel".
Reproducible: Always
Steps to Reproduce:
1.create a simple html file
2.
Add following scripts between tag head
<script>
function DoScroll()
{
Alert("Scroll");
}
onscroll=DoScroll;
</script>
Add following source between tag body
<p style="height:800px" />
3.load and display this html file with Mozilla, then scroll and wheel. You can
also see it with IE or Opera to see the difference.
Actual Results:
when scroll, a message appeared. But when wheel, nothing happenned. But in IE
and Opera, scroll and wheel get the same result.
Expected Results:
wheel, should call scroll event handler, also.
Comment 1•23 years ago
|
||
*** This bug has been marked as a duplicate of 189308 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•