Bug Tracker

Modify

Ticket #11571 (closed bug: invalid)

Opened 14 months ago

Last modified 14 months ago

Problem with preventdefault on mousedown event in Internet Explorer 8

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

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?

Change History

comment:1 Changed 14 months ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.