This commit is contained in:
@@ -52,6 +52,7 @@ export const animateIn = scope => {
|
|||||||
|
|
||||||
// Reveal on scroll
|
// Reveal on scroll
|
||||||
let visible = false
|
let visible = false
|
||||||
|
requestAnimationFrame(() => {
|
||||||
const carouselReveal = ScrollOut({
|
const carouselReveal = ScrollOut({
|
||||||
once: true,
|
once: true,
|
||||||
targets: scope,
|
targets: scope,
|
||||||
@@ -75,4 +76,5 @@ export const animateIn = scope => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
})
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user