Hacker News new | comments | show | ask | jobs | submit login

Worse than taking up screen space, these bars often exhibit laggy scrolling behavior and cause other UI bugs. There are very few well working implementations of such fixed bars, partly due to difficulties like the position:fixed implementation in Mobile Safari[0] - unless that has been changed in iOS7.

I highly recommend to refrain from using position:fixed on mobile devices.

[0] http://remysharp.com/2012/05/24/issues-with-position-fixed-s...




Mobile web moves too quickly to care about what was true 2 entire years ago :) iOS got position: fixed a couple versions back, and iOS users upgrade rapidly.

So, the advice not to use position: fixed on mobile may still be good, but iOS isn't the reason why.




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

Search: