Skip to content
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

Cannot draw multiple times in iPad safari #27

Open
meetwudi opened this issue Jan 6, 2015 · 3 comments
Open

Cannot draw multiple times in iPad safari #27

meetwudi opened this issue Jan 6, 2015 · 3 comments

Comments

@meetwudi
Copy link

meetwudi commented Jan 6, 2015

No description provided.

@patrickdevivo
Copy link

+1

@webmajstr
Copy link

I spotted this problem in any other mobile browser (android chrome, iOs safari, WP IE)

@jwcarr
Copy link

jwcarr commented Oct 13, 2015

I encountered the same issue and got it working by changing the line

if (e.originalEvent && e.originalEvent.targetTouches) {

to:

if (e.originalEvent && e.originalEvent.targetTouches && e.originalEvent.targetTouches.length > 0) {

I'm not a strong JavaScript programmer, so I'm not entirely sure why this works – but it fixed the issue for me.

zionsg added a commit to zionsg/sketch.js that referenced this issue Jun 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants