Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sveltekit: scrollreveal not working #548

Open
sc00 opened this issue Apr 8, 2022 · 1 comment
Open

Sveltekit: scrollreveal not working #548

sc00 opened this issue Apr 8, 2022 · 1 comment

Comments

@sc00
Copy link

sc00 commented Apr 8, 2022

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

@opencoca
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants