question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Text selection does not happen on iOS 13.4

See original GitHub issue

Bug Report

Problem

After updating the iPad and iPhone to version 13.4, selecting the text by holding and dragging is no longer working. we’ve tested it in 2 ionic 4 apps and in both, the text selection didn’t work.

https://drive.google.com/file/d/12f-TX9VKKhXyt0hXb5bJCuKQhizGeZb0/view?usp=sharing

Code

<div class="selectable">
  Lorem ipsum dolor sit amet, consectetur adipiscing elit, se
  eiusmod tempor incididunt ut labore et dolore magna aliqua.
  Ut enim ad minim veniam, quis nostrud exercitation laboris.
</div>
.selectable {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

Environment, Platform, Device

Latest iOS version (13.4) in iPad or iPhone

Version information

Ionic:
   Ionic CLI                     : 5.4.16 (/usr/local/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.11.7
   @angular-devkit/build-angular : 0.13.10
   @angular-devkit/schematics    : 7.3.10
   @angular/cli                  : 7.3.10
   @ionic/angular-toolkit        : 1.5.1

Cordova:
   Cordova CLI       : 8.0.0
   Cordova Platforms : ios 4.5.5
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 23 other plugins)

Utility:
   cordova-res : 0.11.0
   native-run  : not installed

System:
   NodeJS : v12.14.1 (/usr/local/bin/node)
   npm    : 6.14.2
   OS     : macOS Mojave
   Xcode  : Xcode 10.1 Build version 10B61

Checklist

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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jcesarmobilecommented, Apr 21, 2020

Ah, sorry, that’s for ionic wkwebview plugin, in Apache wkwebview plugin the preference is <preference name="Allow3DTouchLinkPreview" value="true" />, but true is the default value.

If you are using a different wkwebview plugin or UIWebView might be a different preference or not configurable.

According to the link it’s been fixed by Apple already, but not released yet, not sure in which iOS version will be included.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ionic 4 | Text selection does not happen on iPad iOS 13.4
After updating an iPad to the latest version (13.4), selecting the text by holding and dragging is no longer working. we've tested it...
Read more >
Can't Select Text to Copy and Paste - Apple Community
Since updating to iOS 13.4.1, I'm no longer able to select text in a browser, in order to copy and paste it. I...
Read more >
Apple releasing iOS 13.4 and watchOS 6.2 GM to developers
Apple today is releasing the GM seed of iOS 13.4, iPadOS 13.4, ... in the user interface, press buttons and assist with text...
Read more >
iMessage not working iOS 13 or iPadOS? Fix it today
Having trouble with the Messages app and iMessage using iOS 13 or iPadOS? We got you covered with our top tips to get...
Read more >
iOS 13 - Wikipedia
iOS 13 is the thirteenth major release of the iOS mobile operating system developed by Apple Inc. for their iPhone, iPod Touch, and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found