How to detect height of virtual keyboard?

How to detect height of virtual keyboard?

BY 20 Jan 2017 Web Application Development

How to detect height of virtual keyboard? I would like to change my UI when the keyboard is visible. I tried to check windows.innerHeight but keyboard doesnt change this value. Do you know any way to do it?

Written by