This project is archived and is in readonly mode.

#604 ✓duplicate

Fix $check for IE7

Reported by Xandros | February 25th, 2009 @ 06:55 PM | in 2.0 (closed)

There is an issue when using onmouseleave events in IE. If the element has a child SELECT element, when opening this select in IE, if the mouse leaves the element but stays inside the SELECT dropdown (further down for example), the mouseleave event fires even though the mouse is still inside the element.

The problem does not occur on Firefox.

Fix :

var $check = function(event){
  var related = event.relatedTarget;
  if (related == undefined) return false; // was 'return true'
  if (related === false) return false;
  return ($type(this) != 'document' && related != this && related.prefix != 'xul' && !this.hasChild(related));

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket