iOS Webkit Scrolling Suddenly Stops Responding

When I start scrolling a div, everything works as expected. But suddenly stops to recognize the movement. After a few seconds of stop scrolling, the <div> resume to respond again as expected. And it's cyclical, sometimes stop scrolling and didn't responds and sometimes works.

You can see it with more details and pictures in the Stackoverflow:

https://stackoverflow.com/questions/63615890/ios-webkit-scrolling-suddenly-stops-responding

HTML:

Code Block
<body>
<div class="header"></div>
<div class="body">
<div class="list">
<div>Item 1</div>
<div>Item 2</div>
<div>Item 3</div>
<div>Item 4</div>
</div>
</div>
<div class="footer"></div>
</body>

Style Sheet:

Code Block
*{
-webkit-user-select: none;
-webkit-overflow-scrolling: touch;
outline: none;
}
.header{
position: fixed;
top: 0;
left: 0;
right: 0;
height: 60px;
}
.body{
position: fixed;
top: 60px;
left: 0;
right: 0;
bottom: 60px;
overflow-y: scroll;
z-index: 9999;
}
.footer{
position: fixed;
left: 0;
right: 0;
bottom: 60px;
height: 60px;
}
body{
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0px;
}

Why are you using body position: fixed ?
Code Block
body {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0px;
}


iOS Webkit Scrolling Suddenly Stops Responding
 
 
Q