Just realized the $40 sticky position polyfill I bought in 2015 was the best money I ever spent on front end | CSS Shenanigans - The Design Community Hub
Just realized the $40 sticky position polyfill I bought in 2015 was the best money I ever spent on front end
Back when sticky headers barely worked in Safari, I paid $40 for a tiny script that faked position sticky with scroll events and a clone div. It saved a client's product page in Chicago from falling apart, and I still keep the file in a folder called old-saves. These days you just type position: sticky and move on, but I still remember the 300ms lag on that fake header. The funny part is that script had its own bug where the clone would detach after a fast scroll and float off into the footer. I fixed it with 3 lines of code and felt like a wizard. Does anyone still have a paid fix from that era sitting in a backup folder?