None
NL
How to detect the on-screen keyboard in iOS Safari
[]
Blog by Martijn Hols
In iOS Safari, when a user taps on a text input of any kind, the on-screen keyboard will open. There are two ways to attempt detecting the on-screen keyboard; we can either monitor viewport resizing or we can make an educated guess based on the user focussing input fields. When a text input is focused, it means the user has tapped on it, making the on-screen keyboard open.