IOS Safari iFrame content height increases when the absolute height of an element changes to window.innerHeight

window.innerHeight is constantly growing every time I try to change an absolute element to window.innerHeight.

JSBin (opens using a real Safari iOS device or Xcode simulator) - https://jsbin.com/qivupe

This strange behavior does not play when the page is not iframed and only happens on iOS mobile Safari. Any suggestions would be greatly appreciated.

+4
source share
1 answer
  • A bean requires a pro account to send you.
  • , .
  • , , paddings/margin, , , , , innerHeight.
0

Source: https://habr.com/ru/post/1610432/


All Articles