You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mouseenter: Object doesn't support property or method 'contains' #17225
changed the title [-]Mouseover Object doesn't support property or method 'contains'[/-][+]mousenter: Object doesn't support property or method 'contains'[/+]on Nov 23, 2018
changed the title [-]mousenter: Object doesn't support property or method 'contains'[/-][+]mouseenter: Object doesn't support property or method 'contains'[/+]on Nov 23, 2018
Activity
rwjblue commentedon Nov 23, 2018
Thanks for reporting!
@simonihmig - Any ideas off the top of your head?
simonihmig commentedon Nov 23, 2018
@amk221 I assume this was an
mouseenterevent, notmouseoveras in your title, right?Indeed. I quickly booted my VM with IE11, and it seems it doesn't support
Node#contains()on SVG elements. 🙄I had a quick look how the jQuery-based implementation works around this, and it seams jQuery (or rather Sizzle) has a fallback implementation here: https://github.com/jquery/jquery/blob/e743cbd28553267f955f71ea7248377915613fd9/external/sizzle/dist/sizzle.js#L860-L868
I guess we can flag this as a bug then! I can try to provide a fix hopefully soon...
amk221 commentedon Nov 23, 2018
Ah @simonihmig, yes - thank you!
[-]Mouseover Object doesn't support property or method 'contains'[/-][+]mousenter: Object doesn't support property or method 'contains'[/+][-]mousenter: Object doesn't support property or method 'contains'[/-][+]mouseenter: Object doesn't support property or method 'contains'[/+][BUGFIX beta] fix mouseEnter/Leave event delegation w/o jQuery for SV…
pixelhandler commentedon Nov 30, 2018
@rwjblue @simonihmig is ie11 w/o jQuery officially supported ? if so, this is a bug correct?
[BUGFIX beta] fix mouseEnter/Leave event delegation w/o jQuery for SV…
rwjblue commentedon Dec 6, 2018
Yep, updated the labels.
[BUGFIX beta] fix mouseEnter/Leave event delegation w/o jQuery for SV…
[BUGFIX beta] fix mouseEnter/Leave event delegation w/o jQuery for SV…