Skip to content

Comment on The Scroll Up Barparent

Comments

Aside: Is there a way to detect that happening in JavaScript? Just thinking that detecting the user doing that and then showing the site's nav bar again would be groovy...

I don't know, but I don't think it's wise to override a system behavior in ways the user doesn't expect. Better just put a button on the page.

Yes, onscroll

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.