jlmakes / scrollreveal

Animate elements as they scroll into view.
https://scrollrevealjs.org/
22.39k stars 2.26k forks source link

scrollrevealjs not working on IE11 #436

Closed fengitel closed 6 years ago

fengitel commented 6 years ago

Hi,

I can't manage to get ScrollReveal working on IE11. Animations don't start at all, even on the demo page I get a black screen (no color bars at all). I've made sure JavaScript is enabled.

Is there something I'm missing?

Regards F.

jlmakes commented 6 years ago

ScrollReveal works on browsers that support both CSS Transition and Transform (which includes IE10+), but you're right there is a problem with the demo (#222): I used the newer view units vw and vh for the color bars, which do not play nicely with CSS Transforms in IE10+.

I've re-built the website for version 4, so this CSS browser bug will soon be gone! :)

P.S. Here's a ScrollReveal JSBin (without view units) you can test to confirm IE10+ support.