I
I
Igor2018-05-24 13:26:59
JavaScript
Igor, 2018-05-24 13:26:59

How to overcome the “bug” of the form in full screen on mobile?

The essence of the bug is as follows. I have a contact form that is displayed on top of other site elements. On the mobile version, it should be located on the entire screen. This is how it is until you start typing: the browser address bar appears, the form "slides" down a little to the height of this browser element. Do not raise the form back.
How to take into account the appearance of browser elements so that the form is always full width and height?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
boga-net, 2018-05-24
@pingvin156

What is a browser address bar? Where are the screenshots, code, fidl?
have you tried max-width: 100vw, max-height: 100vh and overflow: hidden?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question