jlmakes / scrollreveal

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

Safari - SR Elements do not reveal second time page is loaded on Vue Gridsome #523

Open matthewattanasio opened 4 years ago

matthewattanasio commented 4 years ago

I am still having the issue where SR elements are not appearing when you navigate to the same page more than once. There are currently no errors in console for Safari so do not know where to direct my attention to.

I am using the following settings.

Vue.use(VueScrollReveal, {
  duration: 800,
  scale: 1,
  distance: '100px',
  mobile: false,
  clean: true
})

You can view the issue here by using Safari and navigating here https://new-blob--skyfoundry.netlify.app/ and then going to the case studies page and back to home.

Any help would be much appreciated.

Environment

jlmakes commented 4 years ago

Just to confirm, with 4.0.6 you ran into the same problem but with console errors?

matthewattanasio commented 4 years ago

That is correct @jlmakes

jlmakes commented 4 years ago

@matthewattanasio Could you redeploy the site with ScrollReveal attached to the window? It'll help me debug if I can poke around its internal state (such as what elements ScrollReveal thinks are visible, their dimensions, etc.)

Also, did 4.0.7 fix this problem in other browsers?