New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"DOMEvent" and "mousewheel" event #2242

Closed
ibolmo opened this Issue Jan 19, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@ibolmo
Copy link
Member

ibolmo commented Jan 19, 2012

(from Lighthouse)

Tested on Firefox 6.0.2

"wheel" property of DOMEvent object is not instantiated when "mousewheel" event is thrown.

There is a missing condition in DOMEvent object :

} else if (type == 'click' || type == 'dblclick' || type == 'contextmenu' || type.indexOf('mouse') == 0){

should be replaced by

} else if (type == 'click' || type == 'dblclick' || type == 'contextmenu' || type.indexOf('mouse') == 0 || type == 'DOMMouseScroll'){

(from comment)

For test :
http://jsfiddle.net/8ADWe/1/

@arian

This comment has been minimized.

Copy link
Member

arian commented Jan 19, 2012

This was already fixed in 3fc253e

@arian arian closed this Jan 19, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment