Skip to main content

Bug Tracker

Side navigation

#11571 closed bug (invalid)

Opened April 09, 2012 06:20PM UTC

Closed April 09, 2012 06:28PM UTC

Problem with preventdefault on mousedown event in Internet Explorer 8

Reported by: Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:

This demo locks the scroll when the user clicks with the mouse wheel button

but this does not work in IE8

The preventDefault just does not work.

  • - - -

This example is the same thing, but does not use jQuery, and works perfectly in IE8

Note that the PreventDafault works correctly.

  • - - -

This is a bug in the implementation of the method 'on' from jquery?

Attachments (0)
Change History (1)

Changed April 09, 2012 06:28PM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

jQuery doesn't normalize event.button, look at event.which instead or take your chances with event.originalEvent properties.