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

Efficiency Problem #238

Open
Arturexe opened this issue Aug 20, 2021 · 0 comments
Open

Efficiency Problem #238

Arturexe opened this issue Aug 20, 2021 · 0 comments

Comments

@Arturexe
Copy link

Arturexe commented Aug 20, 2021

Hello, I love your library! Recently I ran into some issues, when trying to mark too many elements for parallax scrolling. The issue is a pretty laggy parallax scroll. The more elements I mark, the larger the "scroll jumps" that JS performs with the elements. First I thought this was mainly related to the size of the marked objects, like large images. But it also seems to be a problem when I mark text paragraphs for parallax scrolling. I just tried to mark 6 sections for a scrolling website, each section with a heading and some paragraphs and I could see the lag, no images involved. The paragraphs involve linear gradient colored words inside span elements, which probably further adds to the load. Is there a fix for this?

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

No branches or pull requests

1 participant