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

Positioning cursor inside input doesn't work very well

Open angjelkom opened this issue 4 years ago • 1 comments

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:

  • doesn't move at all
  • moves to the very end
  • very rarely it succeeds to move to the correct position
  • it moves to the correct position but before that for a moment it moves to the very end

Information

  • I've tested this with a hello world app on iOS, just for comparison the Slack application on iOS and other similar apps don't have this issue

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

  • [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

angjelkom avatar Sep 07 '21 08:09 angjelkom

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.

breautek avatar Sep 15 '21 19:09 breautek

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 avatar Apr 16 '23 01:04 dpogue

Closing as stale.

dpogue avatar May 19 '23 06:05 dpogue