Carousel: Fix reveal
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-04-21 18:12:32 +02:00
parent e9ad9deafd
commit a4f4b55705

View File

@@ -52,6 +52,7 @@ export const animateIn = scope => {
// Reveal on scroll
let visible = false
requestAnimationFrame(() => {
const carouselReveal = ScrollOut({
once: true,
targets: scope,
@@ -75,4 +76,5 @@ export const animateIn = scope => {
})
}
})
})
}