electerious / electerious/basicScroll

Set scrolling element to something other than the window

Aperta
#67 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
3.6k
Fork
145
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hello everyone!
Is there a way to change what the scrolling container is from the default (window)?

The main use case I see is a website where the view is wrapped in a scrolling div (and so, the window/document isn't scrolling).
In my case, I'm doing this to have a css `perspective` on the scrolling div but still being able to have a `position: fixed;` background below.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.