-
Notifications
You must be signed in to change notification settings - Fork 288
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
Canvas Clears when scrolling on iPad #156
Comments
Hello. On Tuesday, June 9, 2015, stevedurr notifications@github.com wrote:
|
Yes I saw that or something similar on another issue. The page has lots of content so when you scroll down on the iPad it clears the drawing (not the data). |
That's really weird. The |
It is really weird. I'm going to do some investigating but I can't get the iPad to connect to Safari to inspect what is going on. I'll let you know if I find out whats happening |
I've found the error of my ways on this one. I'm using some javascript to make the canvas element responsive which resized the canvas, see below. I've highlighted the 3 lines added to fix my issue. `//Get the canvas & context //Run function when browser resize function respondCanvas(){ $(document).ready(function() { |
Okay; so you’ve got it working the way you want? |
Yeah its all good. Nothing to do with your code, as I think we all probably expected... Thanks |
Glad to hear it! |
Hi
When I scroll a page on the iPad the drawn signature clears, the data stays but the drawing is removed.
If you then redraw it overlays it on to the first drawing.
Any ideas what I need to do to prevent it?
Steve
The text was updated successfully, but these errors were encountered: