Copy / Paste IOS

I can’t seem to copy / paste in ionic. Is this a know issue?

I’ve tried to add te following code, and it did show me the options, but the copy / pasting still doesn’t work.

input, textarea {
-webkit-user-select: auto !important;
-khtml-user-select: auto !important;
-moz-user-select: auto !important;
-ms-user-select: auto !important;
-o-user-select: auto !important;
user-select: auto !important;
}

Does someone have the same problem, or knows a fix?

Copy what? Paste where?

Copy / paste in input fields

The above mostly worked for me. Be sure that your CSS is loaded after the ionic css so that it supersedes it.
ALSO… I found that once the loading animation was displayed than copy and paste did not work properly on iOS devices. To fix that problem I applied the following CSS which ensured the the elements used for the animation were hidden using the stronger “display: none” style.

.backdrop:not(.visible),
.loading-container:not(.visible) { display: none; }
2 Likes

@gusdeboer, I am having the same issue with rc1. Did you find any solution?

I am having a similiar problem. It wok’s on my device just fine when I build iOS but I am sharing the app with the client via the new ionic view app and he is not able to paste in an input field.

1 Like