react-sticky-header
react-sticky-header copied to clipboard
🍯 A sticky header for React.js
If height of element is changed in moment when header gets "is-sticky" class, animation has glitches
If height of element is changed in moment when header gets "is-sticky" class, animation has glitches. For example I have larger logo and after "is-sticky" state I want to replace...
Sticky header works but I'm getting this error on each reload: > Uncaught TypeError: Cannot read property 'offsetHeight' of null > at index.js:48 it's this part of the code: ```...
Add to boilerplate too
This will allow consumers who don't care about background images get a leaner component, saving kb.