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

I don't know what mobile phone you use, but on iOS tapping the status bar scrolls back to the top of the page (or anything else that scrolls in the system).


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




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: