electerious / electerious/basicScroll

Set scrolling element to something other than the window

Open
#67 1 comment 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.