basicScroll icon indicating copy to clipboard operation
basicScroll copied to clipboard

Set scrolling element to something other than the window

Open rgon opened this issue 3 years ago • 1 comments

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 avatar Oct 24 '22 16:10 rgon

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

rgon avatar Oct 24 '22 19:10 rgon