Closed hrvstr closed 4 years ago
Hi, how can I get the header to show up when "pinned" like in the example page?
I added this library to my project but the header only displays when I scroll to the top. I can see that classes are being applied and the transition is animated.
Here is a fiddle: http://jsfiddle.net/dbeg2n6q/2/
Notice the header fades in and out but it does not appear "pinned" when scrolling up in the middle of the page.
Found the problem, the header class needed the following css values:
header
position: fixed; top: 0;
Hi, how can I get the header to show up when "pinned" like in the example page?
I added this library to my project but the header only displays when I scroll to the top. I can see that classes are being applied and the transition is animated.
Here is a fiddle: http://jsfiddle.net/dbeg2n6q/2/
Notice the header fades in and out but it does not appear "pinned" when scrolling up in the middle of the page.