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

Set scrolling element to something other than the window #67

Open
rgon opened this issue Oct 24, 2022 · 1 comment · May be fixed by #68
Open

Set scrolling element to something other than the window #67

rgon opened this issue Oct 24, 2022 · 1 comment · May be fixed by #68

Comments

@rgon
Copy link

rgon commented Oct 24, 2022

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.

@rgon rgon linked a pull request Oct 24, 2022 that will close this issue
@rgon
Copy link
Author

rgon commented Oct 24, 2022

No, there isn't a way. I have just implemented it in PR #68

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

Successfully merging a pull request may close this issue.

1 participant