D
D
Denis2016-09-26 10:41:25
css
Denis, 2016-09-26 10:41:25

The form jumps and the page is scrolled at input'a focus in a modal window. What's up, Tim?

A standard modal window with a form, but when you select any of the fields (only the first time), the screen jerks along with the form and the whole page goes up. Page zoom on focus disabled.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton, 2016-09-26
@Ooos

Would not refuse the code, preferably in the like https://jsfiddle.net/

V
VRGreg, 2021-01-18
@VRGreg

If this happens on the phone in the browser, then most likely due to the fact that some blocks have hight: vh. Since your keyboard opens, the height of the browser also changes, and in the end it all jumps. It's not certain, but it's an option.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question