尝试将代码复制为HTML并在iPad Safari上打开:
<div>
内的300x1000,则在惯性仍在继续时无法缩放。我可以先捏缩放然后滚动,或者等到惯性滚动效果完成后再捏缩放。当内部div仍“滚动”时,我应该怎么做才能缩小缩放?
<!DOCTYPE html>
<html>
<head>
<style>
div { background-image: linear-gradient(#0cc, #00c); opacity: 0.8; }
</style>
</head>
<body style="">
<div style="height: 150vh">
<img src="https://placehold.it/400x1000/" style="float: right;"/>
<div style="width: 50vw; height: 50vh; overflow: scroll;">
<div style="height: 150vh;"><img src="https://placehold.it/300x1000/"/></div>
</div>
</div>
</body>
</html>