Body state is always "docked"


(Kris) #1

This happens everywhere, but it’s a bit more obvious on http://discuss.howtogeek.com/ because you can see the header width change…

It seems like the class “docked” is supposed to be appended to the body tag when the header is in its fixed position on scroll… but it’s not actually working and the docked class is always appended unless I scroll up to a negative scroll position (doing this in Chrome on OSX).


(Jeff Atwood) #2

@zogstrip can you add this to your list somewhere.


(Régis Hanol) #3

I actually don’t think it’s a bug. The body is always supposed to be docked unless you use a custom header (which your example isn’t).


Create fully custom header
(Kris) #4

ohh, that makes sense (and appears to work) — I misunderstood the intention there.