Guessing the keyboard height on iOS

Position fixed takes a break when you are entering text in a box

Go to Search results for '' - Discourse Meta start typing in box, notice how header is no longer fixed