-
Notifications
You must be signed in to change notification settings - Fork 24k
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 can we make ListHeaderComponent as sticky header in SectionList #29547
Comments
Hi @nomi9995 thanks for the issue! Could you provide a snack that show cases this issue? |
|
@safaiyeh I have added reproducible snack example. |
Thanks for the snack @nomi9995. It seems like it is working in iOS and not Android. I appreciate the repro |
@safaiyeh it is not working on both android and ios. |
@nomi9995 Please, use SectionList prop: stickySectionHeadersEnabled. This works fine! |
@ecreeth |
I have the same issue as @nomi9995 , when I try to dock the |
You may try out this library: https://github.com/netguru/sticky-parallax-header It supports your case: https://github.com/netguru/sticky-parallax-header#tabbed-header |
@Patys I can also use ScrolView and make list with |
Thanks for the fantastic work, everyone!
Any suggestions on doing this within an existing UI library framework? We are using rn-ui-lib's TabController. Setting Any ideas? |
has you found a solution for this @numandev1? I've been searching for a couple days and everyone suggested using |
This would be really great to have. |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue was closed because it has been stalled for 7 days with no activity. |
Still not working... |
Description
i am using horizontal tab bar inside
ListHeaderComponent
and I want makeListHeaderComponent
as a sticky header in SectionList. we can make stickyheader in flatlist bystickyHeaderIndices={[0]}
but it does not work in SectionListReact Native version:
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
ListHeaderComponent
propsstickyHeaderIndices={[0]}
in section listit will not make
ListHeaderComponent
as sticky headerExpected Results
it should be making
ListHeaderComponent
as a sticky header. or alternative way to make it sticky headerRepoducible example
https://snack.expo.io/@nomi9995/96ac08
The text was updated successfully, but these errors were encountered: