function windowResize() {
	if (!resizeTimeout) {
		emit("resizeStart");
	}

	clearTimeout(resizeTimeout);
	resizeTimeout = setTimeout(onResize, 100);
}
*external keyboard*
-> config.hardKeyboardHidden = HARDKEYBOARDHIDDEN_NO
This means that external keyboard is connected. If external keyboard is connected,
we don't need to do anything.

*floating keyboard is active*
-> No way to detect this.

*keyboard is hidden*
-> If window height is smaller than earlier, keyboard is visible. and vice versa.
If keyboard is not visible, we need to blur the editor, and hide the ad.
Else we need to focus the editor, and show the ad.