apache / cordova-ios

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

Positioning cursor inside input doesn't work very well #1142

Closed angjelkom closed 1 year ago

angjelkom commented 2 years ago

Bug Report

Problem

Moving cursor inside input field by tapping barely works

What is expected to happen?

Like on android tapping inside input should move the cursor to the exact position

What does actually happen?

The cursor doesn't move to the exact position instead it either:

Information

Command or Code

Just a sample Hello World app with input field

Environment, Platform, Device

Device: Iphone 8 plus Platform: iOS 14.6

Version information

Cordova iOS 6.2.0 Cordova 10.0.0 Xcode 12.5.1

Checklist

breautek commented 2 years ago

Text cursor control is handled by the webview and/or the OS, in this case WKWebVIew. So I don't think this is a Cordova issue. Can you create a sample XCode iOS app (Not using Cordova) to reproduce this issue? If so, I'd suggest taking that sample app and raising a bug report against WebKit.

Otherwise, someone smarter than me might be able to give better insight.

dpogue commented 1 year ago

I've marked this issue as stale because it's been over a year with no further comments. If this is still an issue in the latest cordova-ios version and an up-to-date iOS version, please let us know. Otherwise, this issue will be closed.

dpogue commented 1 year ago

Closing as stale.