body{ -webkit-overflow-scrolling: touch; overflow-scrolling: touch; }
Write directly to bodyoverflow-scrolling: touch does not have a rebound effect on iOS phones, but writing to a single p will have a rebound effect , this is why
body
overflow-scrolling: touch
p
业精于勤,荒于嬉;行成于思,毁于随。
I used to add overflow: hidden to the body, and then added this -webkit-overflow-scrolling: touch; and it worked
Add overflow: auto to the body and try it
You can try adding a container under the body and write -webkit-overflow-scrolling: touch; into the container
Try setting a height beyond the visible area for body
overflow: auto;-webkit-overflow-scrolling: touch; Try this, refer to the link https://developer.mozilla.org...
I used to add overflow: hidden to the body, and then added this -webkit-overflow-scrolling: touch; and it worked
Add overflow: auto to the body and try it
You can try adding a container under the body and write -webkit-overflow-scrolling: touch; into the container
Try setting a height beyond the visible area for body
overflow: auto;
-webkit-overflow-scrolling: touch; Try this, refer to the link https://developer.mozilla.org...