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

How to attach to window scroll? #22

Open
victorcarvalhosp opened this issue Jul 4, 2024 · 4 comments
Open

How to attach to window scroll? #22

victorcarvalhosp opened this issue Jul 4, 2024 · 4 comments

Comments

@victorcarvalhosp
Copy link

victorcarvalhosp commented Jul 4, 2024

First of all, thanks for the amazing job done here, this lib is super helpful!

I have one question though, how do I attach the scroll to the window element? On @tanstack/react-virtual grid we can do that by using useWindowVirtualizer but I didn't find a way to achieve the same here, given that the scrollRef param is required too, I'm unsure how to achieve that. Is that possible?

@niikeec
Copy link
Owner

niikeec commented Jul 10, 2024

Hey, apologies for not catching this sooner. Unfortunately that's currently not possible.

@weizhe412
Copy link

Hey, apologies for not catching this sooner. Unfortunately that's currently not possible.

Really nice lib and it did simplify my code !!!
I wonder if there's a plan to implement window scroll =)

@niikeec
Copy link
Owner

niikeec commented Nov 4, 2024

I haven't really planned it, but I can do so if there's interest

@mrdexters1
Copy link

plus 1, it would be really cool to have such a setting
and thank you for the great lib

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

No branches or pull requests

4 participants