Closed scottohara closed 3 years ago
Some suggestion that this is a bug in iOS7
Could potentially work around it by delaying the create function (eg. setTimeout(create, N)), to allow enough time for the keyboard to close before setting div.style.top = window.innerHeight + window.pageYOffset + 'px';
(assuming that the issue is that when the keyboard is open, window.innerHeight
is reporting the height of the viewport less the keyboard's height)
No longer an issue in iOS 14
Since iOS7