From 7e1c6c107fd0dd7c7ecc09d232a886e6cb96b604 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Brodha=CC=88cker?= Date: Tue, 8 Mar 2016 13:39:06 +0100 Subject: [PATCH] touch events should not be fired on the IE for the drawing canvas. --- css/drawingboard.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/drawingboard.css b/css/drawingboard.css index 7156c4a..3998e9a 100644 --- a/css/drawingboard.css +++ b/css/drawingboard.css @@ -8,7 +8,7 @@ .drawing-board-canvas { position: absolute; top: 0; left: 0; z-index: 10; width: auto; } -.drawing-board-canvas { cursor: crosshair; z-index: 20; } +.drawing-board-canvas { cursor: crosshair; z-index: 20; -ms-touch-action:none;} .drawing-board-cursor { position: absolute; top: 0; left: 0; pointer-events: none; border-radius: 50%; background: #ccc; background: rgba(0, 0, 0, 0.2); z-index: 30; }