I'm developing a mobile app supporting portrait mode only, looking for a cross browser way of detecting if window resize was caused by keypad appearance/disappearance as I need to apply a custom action for those events.
Best I can think of is capture window height during the initial load and then check if it's been changed.