A
A
Alexander Nameless082018-01-31 09:02:57
css
Alexander Nameless08, 2018-01-31 09:02:57

Why does focus "behave weird" on input on iphone?

Hello!
Strange behavior when filling out forms on iphone. I select a certain field and the cursor jumps off somewhere. I selected the phone - I fill it in, and the numbers are printed in the name - prntscr.com/i7zxwa
Everything is ok on android and ipad, the desktop is also ok. And they checked it on iphone 6 and 8 - such a glitch .. Has anyone encountered a similar problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Danila, 2018-01-31
@Nameless08


a well-known bug in iOS, there are 2 solutions for inputs inside fixed modals :
Hide all content behind the modal when opening, so that there is no scrolling on the page, show it again when closing, while you need to save the scroll position in advance and return to when closing the modal place, otherwise the page will fly up.
Don't use position fixed

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question