Guessing the keyboard height on iOS

I am not sure anything exists but I would :heart: be proved wrong, it would make me super happy :sake: :sailboat:

In the meantime I just committed an amendment to that hack that accounts for “shrunk vs non-shrunk” address bar. It makes me feel quite bad about myself, but hey it works provided you are using a default keyboard and have predictive text on.

BIG address bar:

Small address bar:

:arrow_double_up: notice how 10.0.0.55 is big in the top picture and smaller in the second one. When it is big … you also happen to have a footer on the page that eats up visible space for nav, so we just plug in numbers and :pray: for peace on :earth_asia:

5 إعجابات