scrollreveal icon indicating copy to clipboard operation
scrollreveal copied to clipboard

Sveltekit: scrollreveal not working

Open sc00 opened this issue 2 years ago • 1 comments

Hi,

I've been trying to use scrollreveal in the context of Sveltekit. It's not working however. The ScrollReveal object looks good to me - elements with the associated classes are present, computed styling etc. seem correct - however the inline-styles are not being applied.

Any idea why that is? I've tried using it via CDN as well as installing the package with npm.

Thanks and cheers

sc00 avatar Apr 08 '22 13:04 sc00

On a similar note scrollreveal messes with the opacity of Alpine's x-transitions. It must not be applied on elements that are under x-transitions control otherwise they will remain opacity:0 on alpine's reveal.

opencoca avatar Mar 18 '23 13:03 opencoca