Sticky header is disappearing when scrolling
See original GitHub issueWhen scroll and the header reaches the top, it disappears
adapter.layoutManager = StaggeredGridLayoutManager(...)
adapter.setDisplayHeadersAtStartUp(true)
adapter.setStickyHeaders(true)
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Sticky header disappearing after going a certain ways down ...
The sticky element scrolls away once you scroll past the computed height of the body, which is the header's parent.
Read more >Sticky header disappearing when scrolling up - Themeco
When scrolling down the bars appear to behave normally but when scrolling back up they are acting strange. See screenshots.
Read more >How to Hide/Reveal a Sticky Header on Scroll (With JavaScript)
In this tutorial we'll learn how to hide the page header when scrolling down the page, then reveal it when scrolling up.
Read more >ReactJS header that disappears on scroll down and appears ...
This page has a sticky disappearing header. Scroll down and it will disappear from view. Scroll up and it will reappear like magic....
Read more >Sticky Menu disappears when scrolling down - GeneratePress
I configured the primary navigation this way: “sticky navi on” + “transition fade” + “hide when scrolling down” is unchecked + “menu item...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I might experience the same bug, can’t tell exactly when it started. Scenario is: sticky headers and under the current header there are more items than fit on the screen. When scrolling down, the next header does not show up in place but replaces the current header at the sticky position while leaving an empty space at its correct position. Once the new header is scrolled to the top, everything looks ok. Scrolling up works fine. A temporary workaround for me is to set a 0-sized recycler pool for the header view. (Probably has performance impact, but not relevant for my scenario.)
Yes, just switched back to 5.0.2 (with the 0-sized pool workaround removed) and the error is back.