P
P
Polina Pukhova2017-10-05 19:40:03
iPhone
Polina Pukhova, 2017-10-05 19:40:03

Why is the active area shifted on ios?

In the login form on the iPhone, the cursor moves much lower than the field itself. When typing, the text appears where it should, but the cursor jumps from bottom to top. The active areas for some buttons on the top panel have also been shifted, that is, the button is outwardly in place, but you need to press it lower. How can this be fixed?
Form code:

<div class="box-modal popup" id="authorization">
                <div class="box-modal_close arcticmodal-close close-popup"></div>
                <h4>Авторизация</h4>
                <form action="/login/authenticate" method="POST" id="loginForm">
                    <input type="text" name="username" required="" value="" tabindex="1" autofocus="" placeholder="Логин">
                    <input type="password" name="password" required="" value="" tabindex="2" placeholder="Пароль">
                    <input type="submit" name="" class="full-button" required="" tabindex="3" value="Войти">
                </form>
            </div>

The code can be viewed at tellus.by
59d66054b937f431377403.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
mirnaya, 2017-10-08
@Pcheluntik

There is a solution here:
https://hackernoon.com/how-to-fix-the-ios-11-input...

V
vasyaproject, 2018-05-02
@vasyaproject

I had such garbage, I solved it like this:

@media(max-width:767px) {
.modal-open {
     position: fixed!important;
}
}

I found this solution here: dumajkak.ru/kak-nastroit-kursor-na-ios-11-na-onlaj...
There are 3 more ways to solve this canoe.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question