Strange hover behavior in Internet Explorer 10
I have a strange problem. The error occurs in IE10 and IE9.
Here is the code responsible for the hover behavior:
- var postId = jQuery(elem).attr('id');
- var articleId = '#'+postId;
- var article = jQuery(articleId);
- article.hover(
- function(event) {
- console.log('enter');
- jQuery(me.elem).append(jQuery(this));
- TweenMax.to(this, 0.3, {scaleX: 1.07, scaleY: 1.07, boxShadow: "5px 10px 10px "+color});
- },
- function(event){
- console.log('leave');
- TweenMax.to(this, 0.3, {scaleX: 1, scaleY: 1, boxShadow: "0px 0px"});
- }
- );
I'm not able to reproduce it in jsfiddle. I think it has something to do with the jQuery.masonry positioning the <article> elements with position: absolute;
I'll post the link to the project:
the main js responsible is:
I can't catch a mouseout nor mouseleave event on the <article> elements.
I've tried the fixes:
- adding background-color.
-   or trying to provide some other innerHTML.
- tried it with jQuer1.9 and jQuery2.0
Non of them work. Any help or ideas would be a great!
cheers!