electerious / electerious/basicScroll
Set scrolling element to something other than the window
Open
- Dominant language
- JavaScript
- Stars
- 3.6k
- Forks
- 145
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.