Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's intentional actually :) The library allows you to supply a tolerance value, to reduce sensitivity of the effect. On the project site, I have it set to 5px (i.e. you must scroll > 5px for the effect to trigger). You can try out the various options in the interactive playground [0]

[0] http://wicky.nillia.ms/headroom.js/playroom/



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: