Draw on Canvas by sketch jQuery plugin not work in Mobile
mostafa ahmed
21
Reputation points
In ASP.NET MVC project,I am using this jQuery plugin to make free drawing over a canvas.
It work fine on computer, but in Mobile or IPad not work properly, In Mobile or IPad, when I draw something and if I touch canvas again with pin, the old drawing is removed and cleared
$('#canvasDrawing').sketch();
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/mobomo/sketch.js@master/lib/sketch.min.js"></script>
<canvas id="canvasDrawing">