Skip to content

Commit

Permalink
fix comment length
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech committed Apr 3, 2024
1 parent f50169b commit 12700ea
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/signature_pad.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,10 @@ export default class SignaturePad extends SignatureEventTarget {
const isIOS =
/Macintosh/.test(navigator.userAgent) && 'ontouchstart' in document;

// The "Scribble" feature of iOS intercepts point events. So that we can lose some of them when tapping rapidly.
// Use touch events for iOS platforms to prevent it. See https://developer.apple.com/forums/thread/664108 for more information.
// The "Scribble" feature of iOS intercepts point events. So that we can
// lose some of them when tapping rapidly. Use touch events for iOS
// platforms to prevent it. See
// https://developer.apple.com/forums/thread/664108 for more information.
if (window.PointerEvent && !isIOS) {
this._handlePointerEvents();
} else {
Expand Down

0 comments on commit 12700ea

Please sign in to comment.