cordova-ios icon indicating copy to clipboard operation
cordova-ios copied to clipboard

Apple Pencil on input/textarea causes app to crash.

Open josiaho opened this issue 3 years ago • 1 comments

Bug Report

Problem

When "Scribble" is enabled in iPad > Settings > Apple Pencil, tapping an Apple Pencil in an input field or textarea terminates the app with an error: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[DOMRange asDomRange]: unrecognized selector sent to instance

What is expected to happen?

Be able to scribble characters into input/textarea.

What does actually happen?

App terminates/crashes.

Information

Command or Code

Environment, Platform, Device

iPadOS 15.5, iPad Pro (2021), iPad (7th Gen)

Version information

[email protected]

Checklist

  • [ x] I searched for existing GitHub issues
  • [ x] I updated all Cordova tooling to most recent version
  • [ x] I included all the necessary information above

josiaho avatar Jul 13 '22 21:07 josiaho

Is this still an issue in current iOS versions?

dpogue avatar Nov 05 '25 07:11 dpogue