A
A
Andrey Borchik2018-02-12 17:01:10
iPhone
Andrey Borchik, 2018-02-12 17:01:10

How to overcome the dropout of the cursor in the input fields in the modal window on IOS11?

How to overcome cursor dropout in Safari modal input fields on IOS11?
Is this a safari bug?
I can't find a proper solution.
Website Arthata.by

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita, 2018-02-12
@andryu6ka

When opening a modal window on body, add the class:

.show-modal {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
}

Accordingly, when closing, delete the class

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question