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

Is there a way to get which sticky header is currently active? #56

Open
alterhuman opened this issue Apr 21, 2024 · 1 comment
Open

Comments

@alterhuman
Copy link

I have a calendar with an infinite list with one card for each date. Each date is a SliverStickyHeader that contains a header and a SuperSliverList with just 1 item.

I am able to scroll to specific SliverStickyHeader using animateTo whenever user selects a date on calendar, but I'm unable to figure out how to get a callback on which sticky header is current sticking/on-top for changing the date on calendar as the user scrolls.

@knopp
Copy link
Collaborator

knopp commented May 25, 2024

I'm not sure what you're trying to do, but if you have large amount of SuperSliverList each of them only one item, the performance is not going to be good.

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

2 participants