-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
Unable to draw on Android Chrome Browser #36
Comments
@Ben76 thanks for submitting the issue. Can you see any errors being thrown in the console? Alternatively, can you create a codepen/jsbin that demonstrates the issue? |
@Ben76 @jakubfiala I was having the same issue. In my case, it occured only when we needed to scroll downwards the page to the canvas. In this situation, the scrollTop gets added to the mouse position when drawing (see See: https://codepen.io/bencergazda/full/OapvVL/ I did a quick test with removing the addition of I can make a pull request with a fix. |
thanks for submitting the PRs @bencergazda – and sorry I'm getting to this late! both PRs are looking good – going to approve & merge, then test the changes and publish |
this is now resolved in #39 |
Hello, I get the same stuck. Can you please check my app. My app: https://zcolorqa.azurewebsites.net/ Many thanks |
@viettq1986 thanks for reporting the issue. Could you please let me know how I can replicate the issue in your app? I'm having trouble finding the place where Atrament is used. Also, what version of Android (and Chrome) are you using? |
Hello, Sorry for your Atrament. Please see my step by step: I am using lasted android chrome version My function for get mouse and touch coordinates if (e.touches && e.touches.length > 0) {
} else { return coordinate; Thank you very much |
@viettq1986 I believe your issue might be solved in v4.0.0 - please feel free to reopen if the issue occurs again |
I have a canvas in a Bootstrap Modal.
Works perfectly well on a PC; Not working on Android phone
Used to work well until Chrome released a new version for Android. (on 18th Oct)
Even now, if canvas placed directly on form, it works. Doesn't work when placed in Modal.
The text was updated successfully, but these errors were encountered: