kiuKisas / mobile-chrome-vh-fix

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mobile-chrome-vh-fix

Mobile (Android and iOS) Chrome has something I consider a bug. On scroll, when address bar dissapears, inner window height is changed, and with it vh units size is changed as well, making whole page to jump after recalculating the layout. This also happens when keyboard pops up.

This small library aims to solve that problem.

Demo and docs

About

License:MIT License


Languages

Language:JavaScript 41.6%Language:HTML 37.7%Language:CSS 20.7%