acmpesuecc / acmpesuecc/Website-2026

feat/ux: use lenis for smooth scrolling, instead of transform to minify css size

Aperta
#22 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
CSS
Stelle
1
Fork
5
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Lenis is a library for smooth scrolling. Currently all the scrolling animations are a result of css and js snippets.
- css defines containers,snap,scrollbars.
- js drives auto-focus,recenter,auto-scroll behavior.

Check it out at : [https://www.lenis.dev/](https://www.lenis.dev/)

A couple of things _can_ be fixed here, owing to using lenis, which could be:-
- smoother overview animation
- better overview distribution of windows
- auto-scroll's vertical and horizontal scrolls trigger one after the other, to avoid a race condition triggered by the css-js split. We can change this to a singular movement if possible.
- the footer's rubber band effect also is slow in laptops, but on mobile we have a much faster response. this rubber band effect can be made something into a long scroll/long pull up to stick to the footer (like in voice chat feature for wa groups).

These could be added as sub-issues/separate issues later.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

No files or tests are named. Start by reviewing the existing CSS and JavaScript responsible for containers, snapping, scrollbars, auto-focus, recentering, auto-scroll, and the footer effect, then read the Lenis documentation. Define which listed behaviors are in scope; done means the selected scrolling behavior uses Lenis and the relevant overview, auto-scroll, and footer interactions work without the current CSS-JavaScript race condition.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
css, javascript
Ambito
frontend
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.