I am facing this weird issue which I think is because of apple keyboard. When I tap on the input field, the keyboard comes from the bottom and the cursor moves off down like this:
And when I scroll up with the modal open, it comes back to place like this:
What could be probable issue?
This is a known issue in iOS 11 which happens when an <input>
element is inside a position:fixed
container and is thoroughly described in this blogpost.
The workarounds are for now:
position: absolute
instead of fixed
display:none
and stretching the modal to cover the whole pageNone of the workarounds is particularly a 100% solution, but none of the iOS 11 updates have yet fixed the issue.