Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
199 views
in Technique[技术] by (71.8m points)

javascript - Turn off Apple Scribble with JS or CSS

I'm developing an SVG sketchpad in HTML5 that works fine with the Apple Pencil (I just read events like it was a mouse). The only problem is that the pencil sometimes triggers Apple Scribble which kind of interferes and offers its own behavior. I don't need to turn it off everywhere in my app, just when the user interacts with the sketch pad part. Is there a special touch-action parameter, or some secret combination of event.preventDefault()?

question from:https://stackoverflow.com/questions/66054621/turn-off-apple-scribble-with-js-or-css

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...