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

@slidy/core: use passive listeners to improve scrolling performance #134

Open
iryna-lelyk opened this issue Jan 29, 2025 · 0 comments
Open

Comments

@iryna-lelyk
Copy link

Hi @Valexr,
I have been testing page with sliders in Lighthouse and have gotten report about using passive listeners to improve scroll performance.
This issue was related to @slidy/core package.

So I would really appreciate it if you could add passive modificator for wheel and touch event listeners like this:

document.addEventListener('wheel', onWheel, {passive: true});
@iryna-lelyk iryna-lelyk closed this as not planned Won't fix, can't repro, duplicate, stale Jan 29, 2025
@Valexr Valexr reopened this Jan 29, 2025
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