-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iPad compatibility #1
Comments
Hi @dandoen, I came across the same problem and managed to get a workaround. The problem is that somehow iPad did not fire the I actually added this in the generated javascript, since I'm not really well versed in coffescript:
Let me know if this works for you. |
@leonth, this worked for me! Thanks so much. |
You have saved me hours of debugging, and my Friday night. Thank you! |
you saved my life 👯 thanks!!! |
As this project seems to be inactive, I have created a fork with this fix here : |
However if you then clear the canvas using canvas.sketch().actions = []; and then start writing on the canvas again, it will also draw the last saved line. You will also need to call canvas.sketch().action = [] |
What worked for me in the end was calling canvas.sketch().action = null; instead of canvas.sketch().action = []; The latter was working to clear things but breaking my app. |
@poupougnac The fix worked great thanks for the script! |
Using Sketch.js from: https://github.com/intridea/sketch.js -- base mobomo/sketch.js#1 -- using fix available here
Hello, i facing problem on this sketch.js as well. when i save in mobile browser, the last sketch of the sketching was unable to saved. while in desktop browser, it can be saved. It seem like, sketch.js unable to catch the last sketch data and pass to the parameter in mobile browser. Anyone can guide me how to solve it ? TQ. |
How can one make this great plugin work properly on the iPad? It almost works perfectly, but the problem is that once you draw a line and do mouseUp, and you want to draw some more, it does that but it erases everything around the new line you are drawing. Seems like there is a white background on the ipad when someone draws.
The text was updated successfully, but these errors were encountered: