I use position: fixed on my website to fix the navigation bar to the presentation port, just like in facebook blue bar, but when we tried it on mobile / tablet devices (with their low processing power), this fixed panel does very a bad performance hit, which makes a very bad user experience while scrolling,
we used very good articles to improve scrolling, and indeed, they did, for example:
After many modifications based on these articles, we have reached the point where position: fixed is the only study that we have left to improve.
The site has an ultra-smooth scrolling when we change it to position: absolute . But with it fixing, scrolling has a very bad drawback to the extent that it can hang the Safari browser on the ipad when scrolling in a certain way, did you know how to use position: fixed with good performance on the tablet / mobile devices?
performance css mobile scroll rasterizing
Abdelhady
source share