Is figuring out if the on-screen keyboard is open as easy as comparing visualViewport.height to window.innerHeight? And if so why isn't that at the top of Google results? In categories: Tech/Mobile , Tech/Web