Position fixed on chrome mobile causing element to move on scroll up/down Position fixed on chrome mobile causing element to move on scroll up/down google-chrome google-chrome

Position fixed on chrome mobile causing element to move on scroll up/down


I found out.

For some god forsaken reason, my beloved Google Chrome on mobile require minimum-scale=1 on the viewport meta.

<meta name="viewport" content="minimum-scale=1">

It works now.


The problem is with meta tag you must put there

<meta name="viewport" content="height=device-height,                       width=device-width, initial-scale=1.0,                       minimum-scale=1.0, maximum-scale=1.0,                       user-scalable=no, target-densitydpi=device-dpi">

This is because Chrome browser change height of viewport.


Some of your elements go out of the viewport, therefore Android Chrome auto scale the viewport. Decrease the elements which are bigger like the viewport.