Let's talk about this bug scenario.
. Container { height:100vh; overflow-y:scroll; }
No problem, there is always this similar situation, need to scroll inside the container, but! The scrolling in this container is handled on iOS in a situation similar to
-webkit-overflow-scrolling:auto;
What do you mean?
That is, when the hand leaves the screen at the moment of sliding, the scroll stops immediately (from MDN)
The corresponding solution on the net is to set up a
-webkit-overflow-scrolling:touch;
In this case, the scrolling is guaranteed to be smooth.
But!!! Often there are a variety of rolling, stuck and so on, experience super bad.
Although there are various solutions available on the Internet
{ height:calc (100%+1px); z-index:1;}
But.... And the eggs, useless.
=================================================================================
Ye do not wait, those to deal with the rolling events or something I still tied to the body ...
Overflow scrolling bug with iOS