Opened 11 years ago
Closed 11 years ago
#11571 closed bug (invalid)
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: |
Description
This demo locks the scroll when the user clicks with the mouse wheel button http://jsbin.com/agoyum/edit#source 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 http://jsbin.com/isefek/edit#source Note that the PreventDafault works correctly.
- - - -
This is a bug in the implementation of the method 'on' from jquery?
Note: See
TracTickets for help on using
tickets.
jQuery doesn't normalize
event.button
, look atevent.which
instead or take your chances withevent.originalEvent
properties.