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

Scroll snap #93

Open
Sharvani2002 opened this issue Mar 31, 2023 · 2 comments
Open

Scroll snap #93

Sharvani2002 opened this issue Mar 31, 2023 · 2 comments

Comments

@Sharvani2002
Copy link
Contributor

Sharvani2002 commented Mar 31, 2023

Since we are using javascript for detecting the scroll (in main.js file), when the browser gets interrupted by other js threads, the scroll can get janky.
We can instead use the alternative CSS solution.
If possible, we can also try to eliminate jQuery and increase the website speed.

Resources:
https://firefox-source-docs.mozilla.org/performance/scroll-linked_effects.html

Update:

  • we have now removed jQuery
@Omega08
Copy link

Omega08 commented Apr 3, 2023

So, basically we are looking for an alternative to js for detecting when elements are in view?

@Sharvani2002
Copy link
Contributor Author

Yeah, or any other solution which can solve this issue

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

2 participants