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
Visibility not updated on revealed elements in IE 11 #534
Comments
Thanks for the report. Looks like something here isn't working with IE11, in that scrollreveal/src/instance/functions/style.js Lines 18 to 30 in bc8fd85
Which at first glance suggests that |
Hi, I just came across the same issue. I tried doing a hot fix for now by doing it through the opacity, but then the same issues occurs. Maybe some how on IE besides getting the inline styles the javascript also receives the styles originally set in the css file. Probably this results in returning the true, and why it's not setting the inline styles. Maybe this helps in researching a solution. |
Is visibility:visible not applied or doesn't it overrule the css? Adding !important to the inline style may work. |
The example used on the User Experience page to "Prevent Flickering" suggests adding a "visibility: hidden" style to items that will transition, but this isn't working in IE 11. ScrollReveal doesn't seem to update the visibility on revealed elements in IE 11.
The problem can be seen in your example demo: https://jsbin.com/fuvusofere/edit?html,css,output
I ran this thru WebPageTest to confirm it wasn't just my local setup that had the issue.
https://www.webpagetest.org/result/210413_AiDc2R_dc0e38e7c29f55599d9512320d9ec0c5/
Environment
The text was updated successfully, but these errors were encountered: