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.

Ionic 4 iOS12: No pasting into input fields possible

See original GitHub issue

Bug Report

Ionic Info Run ionic info from a terminal/cmd prompt and paste the output below.

Ionic:

   ionic (Ionic CLI)          : 4.1.2 (/usr/local/lib/node_modules/ionic)
   Ionic Framework            : @ionic/angular 4.0.0-beta.11
   @angular-devkit/core       : 0.8.3
   @angular-devkit/schematics : 0.8.3
   @angular/cli               : 6.2.3
   @ionic/ng-toolkit          : 1.0.8
   @ionic/schematics-angular  : 1.0.6

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : android 7.1.1, ios 4.5.5
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.0.5, cordova-plugin-ionic-webview 2.0.0, (and 11 other plugins)

System:

   NodeJS : v10.10.0 (/usr/local/bin/node)
   npm    : 6.4.1
   OS     : macOS High Sierra
   Xcode  : Xcode 10.0 Build version 10A255

Describe the Bug When I select some text information on iOS (e.g. username), copy this information to the clipboard and then change into my Ionic app, there’s no possibility to paste the information back into the input field. Nothing happens when I do a long click into the input field. Pasting into ion-searchbar works, though.

When running on Android, everything works as expected.

Steps to Reproduce Steps to reproduce the behavior:

  1. Open Ionic 4 app with inputs on iPhone with iOS12
  2. Try to paste something from the clipboard into the inputs

Expected Behavior Pasting information works with iOS and Android

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
ireadecommented, Nov 6, 2018

I’m still having this bug too

Ionic Info:

Ionic:

   ionic (Ionic CLI)          : 4.1.2 (/usr/local/lib/node_modules/ionic)
   Ionic Framework            : @ionic/angular 4.0.0-beta.15-0
   @angular-devkit/core       : 0.7.5
   @angular-devkit/schematics : 0.7.5
   @angular/cli               : 6.1.5
   @ionic/ng-toolkit          : 1.0.8
   @ionic/schematics-angular  : 1.0.6

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : android 7.1.0, ios 4.5.5
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.2.0, (and 15 other plugins)

System:

   ios-deploy : 2.0.0
   NodeJS     : v8.11.3 (/usr/local/bin/node)
   npm        : 5.6.0
   OS         : macOS
   Xcode      : Xcode 10.0 Build version 10A255
0reactions
ionitron-bot[bot]commented, Dec 27, 2018

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ionic 4 iOS12: No pasting into input fields possible #15689
When I select some text information on iOS (e.g. username), copy this information to the clipboard and then change into my Ionic app,...
Read more >
ionic - Copy/paste in input field in iOS 10 not working
As the title suggests, I am building a project with ionic and I am not able to copy/paste in the input fields on...
Read more >
Copy / Paste IOS - Ionic Forum
I can't seem to copy / paste in ionic. Is this a know issue? I've tried to add te following code, and it...
Read more >
Cut, copy, and paste between iPhone and other devices
Note: For information about cutting, copying, and pasting text within or between apps only on your iPhone, see Select, cut, copy, and paste...
Read more >
How to prevent pasting into input fields - DEV Community ‍ ‍
This example demonstrates how to stop a user from pasting content into a HTML input form field using JavaScript. Check the HTML 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