New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Element.Events.mouseleave in IE7 #2221

Closed
ibolmo opened this Issue Jan 19, 2012 · 4 comments

Comments

Projects
None yet
3 participants
@ibolmo
Copy link
Member

ibolmo commented Jan 19, 2012

(from Lighthouse)

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.

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));
};
@arian

This comment has been minimized.

Copy link
Member

arian commented Jan 19, 2012

don't we use the 'native' mouseenter / mouseleave now, if available, which IE supports since IE 5.5.

@ibolmo

This comment has been minimized.

Copy link
Member

ibolmo commented Jan 19, 2012

right, we need to verify the issue

@kentaromiura

This comment has been minimized.

Copy link
Member

kentaromiura commented Sep 2, 2012

IE7 is using the native version, and the native version fires as soon you hit the border of the select box, it needs further testing so moving this to 1.6

@ibolmo ibolmo modified the milestones: 1.5.1, 1.6 Mar 3, 2014

@ibolmo

This comment has been minimized.

Copy link
Member

ibolmo commented Jul 3, 2014

Closing due to pending deprecation of really oldIE

@ibolmo ibolmo closed this Jul 3, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment