Error preventing delayed special events in IE
|Reported by:||scottgonzalez||Owned by:|
Description (last modified by )
We ran into a problem using the hoverintent special event with accordions in jQuery UI. I've narrowed down the problem to calling event.preventDefault() when the special event is triggered through a timeout from a native event. For some reason IE won't let you set event.returnValue inside event.preventDefault().
The only solution I've been able to find is wrapping the
e.returnValue = false in a try/catch inside jQuery.Event.prototype.preventDefault().
full demo: http://jqueryui.com/demos/accordion/hoverintent.html
reduced test case: http://jsfiddle.net/GSD84/1/
Change History (11)
comment:3 Changed 7 years ago by
|Keywords:||special events added|
|Priority:||undecided → high|
|Status:||new → open|