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
After reading src code I see that when state change to "unfixed" className is set to "headroom--unfixed", which is pretty cool for custom styling.
However in getInitialStatestate is to "unfixed" but className is to "headroom--pinned", this seems to be an issue and makes useless the "headroom--unfixed" class.
The text was updated successfully, but these errors were encountered:
I agree with @PHaroZ on this. In my case, since we start out with "headroom--pinned", I can't do custom styling for the initial state. It has to be the same as when unpinned, which does not work for me.
Hi,
First, thanks for your job, it's pretty cool :)
After reading src code I see that when
state
change to "unfixed"className
is set to "headroom--unfixed", which is pretty cool for custom styling.However in
getInitialState
state
is to "unfixed" butclassName
is to "headroom--pinned", this seems to be an issue and makes useless the "headroom--unfixed" class.The text was updated successfully, but these errors were encountered: