You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Headroom sets class unfixed when it reaches top(0) instead the same position it was. #109
changed the title [-]Headroom sets class unpinned when it reaches top(0) instead the same position it was.[/-][+]Headroom sets class unfixed when it reaches top(0) instead the same position it was.[/+]on Jun 21, 2017
@rickyrauch I'm not sure examples of adding options to your <headroom> component isn't in the docs, but you need to set pinStart to the height of <Header/>. Let's say if the height is 100px, you'd use it like this:
Activity
[-]Hi[/-][+]Headroom sets class unpinned when it reaches top(0) instead the same position it was.[/+][-]Headroom sets class unpinned when it reaches top(0) instead the same position it was.[/-][+]Headroom sets class unfixed when it reaches top(0) instead the same position it was.[/+]Fetz commentedon Sep 19, 2017
Hi @rickyrauch,
You need to set pinStart with the total height of
thekevbot commentedon Jun 8, 2018
@rickyrauch I'm not sure examples of adding options to your
<headroom>component isn't in the docs, but you need to setpinStartto the height of<Header/>. Let's say if the height is 100px, you'd use it like this:KyleAMathews commentedon Nov 12, 2026
Set
pinStartto the height of the element above the header (here<Header/>). #215 documents this in the README. Closing.