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

Added the possibility to have multiple slivers as child #67

Closed
wants to merge 3 commits into from

Conversation

UnderKoen
Copy link

With this pr you can have multiple slivers as child what would make it possible for instance to have multiple sticky headers as child, or 2 lists.

Also solves #62

…cky header (currently one one inside one other works).

Also solves letsar#62
@UnderKoen UnderKoen mentioned this pull request Jun 24, 2021
@prakashjaganathan
Copy link

Multiple sticky headers works fine... but the issue is, click action not working for bottom placed childs... If I scroll up the same child to top, then click action is working fine... can anyone fix this issue?

@UnderKoen
Copy link
Author

I will look into it

@prakashjaganathan
Copy link

I will look into it

Can you please check those buttons click inside child sliver list... because, it's working fine on headers and only child list item actions are not working...

@cgestes
Copy link

cgestes commented Mar 8, 2022

Having issue with hitTesting child when having two level of StickyHeaders. Otherwise I love the feature :)

Managed to make nested StickyHeader work (including hitTesting) by using MultiSliver instead of the slivers argument for StickyHeader.
StickyHeader(sliver: MultiSliver(children: [..., StickyHeader(...)])

:D

@letsar
Copy link
Owner

letsar commented Jul 13, 2022

Thanks for the PR, but I fixed a bug, and know we can create nested sliver sticky header with MultiSliver. I think it's the best approach.

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 this pull request may close these issues.

4 participants