scrollreveal icon indicating copy to clipboard operation
scrollreveal copied to clipboard

Reveal does not animate when fired from onload event callbacks of uncached images

Open daveyjones opened this issue 7 years ago • 2 comments

Demo

https://jsfiddle.net/p5vrj9hf/

Steps to reproduce:

  1. Open JSFiddle demo
  2. Open Chrome inspector on network tab
  3. Make sure "Disable cache" is unchecked
  4. Press "Run" a few times (images fade in properly)
  5. Now check "Disable cache"
  6. Press "Run" a few times (images pop in immediately with no fade-in)

Note: the issue disappears if you reduce the number of images from 10 to 2.

Environment

  • Operating System: macOS 10.14
  • Browser Version: Google Chrome 70.0.3538.77
  • ScrollReveal Version: 4.0.5

daveyjones avatar Nov 01 '18 00:11 daveyjones

Any updates on this issue? You're right, ScrollReveal works great in FF - but in Chrome this onload issue has rendered SR useless as the animations are inconsistent. Curious if there will be a fix?

bmgdev avatar Oct 17 '19 01:10 bmgdev

Having the same issues. Not a word on a fix yet?

TomDeSmet avatar Nov 04 '19 10:11 TomDeSmet