E
E
Eugene2016-12-26 13:02:11
iPhone
Eugene, 2016-12-26 13:02:11

Why doesn't position fixed work on iPhone 4?

Tell me how to overcome position: fixed on iPhone 4, the fact is that an element with position: fixed scrolls as not fixed.
Because of this, it is not possible to scroll the menu if it is larger than the viewport.
i.imgur.com/MfqweF3.gifv

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Rybchenko, 2016-12-26
@chesterOk

Because mobile browsers (many) don't currently support position:fixed.
More support table position:fixed
Here 's an example of a workaround.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question