It seems like not all Android-based browsers have switched to resize the visual viewport like iOS does. I'm sure that Android browsers had their reasons to default into completely redoing the layout when a keyboard comes up, but I'm not sure what advantages it brings (or what the disadvantages are of the iOS way). Maybe it wasn't considered?
Don't get me wrong: the iOS way is better, since the browser isn't recalculating the entire page's layout on every frame (so animations are smoother), and not potentially triggering different media queries.
1 comment
[ 4.9 ms ] story [ 11.1 ms ] threadDon't get me wrong: the iOS way is better, since the browser isn't recalculating the entire page's layout on every frame (so animations are smoother), and not potentially triggering different media queries.