Closed SaphuA closed 8 years ago
The use of transform: translateZ(0)
is a well-known hack to cause supporting browsers to use hardware acceleration for the animations and improve FPS. Can you elaborate on the issues in IE11 please and I'll look into it?
When I navigate to http://ianlunn.github.io/Hover/ using IE11 none of the 2d transition animations work. The element isn't rendered for the duration of the animation. However, when I remove translateZ most of them work as expected. Or could this be an issue specific for my machine?
It is an issue that has previously been reported. I am unable to reproduce but you are the 3rd person reporting it so obviously something is going on. Please see this issue: https://github.com/IanLunn/Hover/issues/71
It seems like some styles, like hvr-grow, are using
transform: translateZ(0)
which is causing issues in IE11. Removing these lines makes it work perfectly. Perhaps they can be removed for styles that do not require them?https://github.com/IanLunn/Hover/blob/master/css/hover.css#L18-L19