绑定触摸事件并避免在Internet Explorer中滚动(11)



我在IE中遇到触摸事件问题。下面是我的例子:

fiddle example (scroll bottom right box to down)

http://jsfiddle.net/bordeux/78fez12m/2/

当我使用InternetExplorer时,我想从上到下画一条线,所有页面都在滚动。当用户在画布上绘制时,我如何停止滚动网页?

为ie touch修复了它http://jsfiddle.net/h1d1djcr/

 <style>canvas {     touch-action: double-tap-zoom; } </style>

最新更新