javascript - Mobile Safari. Sudden movement in form inside of iframe -


i have form inside of iframe.

i see sudden movement of viewport after turn on fields of form clicking on arrows on virtual keyboard ios

i noticed problem in mobile safari(ios8), , when form in frame.

the "run code" button not visible if open stack-overflow in ios, therefore link working example in here.

code snippets here:

.a { background-color: #f00 }  .b { background-color: #0f0 }  .c { background-color: #00f }  .d { background-color: #ff0 }  .e { background-color: #0ff }  .f { background-color: #f0f }  .g { background-color: #0a0 }  .h { background-color: #a00 }  .z { background-color: #00a }
<input class="a" placeholder="a" type="text"><br>  <input class="b" placeholder="b" type="text"><br>  <input class="c" placeholder="c" type="text"><br>  <input class="d" placeholder="d" type="text"><br>  <input class="e" placeholder="e" type="text"><br>  <input class="f" placeholder="f" type="text"><br>  <input class="g" placeholder="g" type="text"><br>  <input class="h" placeholder="h" type="text"><br>  <input class="z" placeholder="z" type="text"><br>

it reproduce if code open in iframe

to check this:

  1. open website,
  2. click on first field
  3. go through fields pressing on ">" button(on virtual keyboard of ios).

after pressing start twitching movement, , positioning of screen in wrong places.

who faced? how fix bug js/css ?

this problem haven't solves long time

discussions.apple.com/message/23671694


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -