apache / cordova-ios

Apache Cordova iOS
https://cordova.apache.org/
Apache License 2.0
2.16k stars 990 forks source link

Apple Pencil on input/textarea causes app to crash. #1243

Open josiaho opened 2 years ago

josiaho commented 2 years ago

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

ios@6.2.0

Checklist