cordova-plugin-ionic-keyboard icon indicating copy to clipboard operation
cordova-plugin-ionic-keyboard copied to clipboard

bug(ios) - after opening the keyboard in ios, user-select: auto stops working

Open zakton5 opened this issue 7 years ago • 4 comments

I am trying to make some text selectable in my app using user-select: auto (which is converted to all of the appropriate browser specific css needed). This does work fine until the keyboard is opened. After that I can no longer select the text that I could before

zakton5 avatar Oct 10 '18 13:10 zakton5

+1 @zakton5 Did you manage to find any solution for this? ( Btw, this is only on versions 12.0 and 12.1 )

davorduhovic avatar Nov 06 '18 11:11 davorduhovic

I have de same issue, and I found an issue opened with cordova-plugin-ionic-webview.

brendonbitencourt avatar Nov 08 '18 11:11 brendonbitencourt

@davorduhovic I did not, unfortunately. I did find out that ionic disables user-select by default which caused the selected text to be unselectable. But that is not related to this issue. I fixed that with the scss below, but then I had to manually set user-select: none where it was necessary.

body {
    user-select: auto !important;
}

zakton5 avatar Nov 13 '18 15:11 zakton5

Can you provide a sample app? In the linked issue, it's mentioned that it's an Apple bug that also affects safari, but not sure if it's the same issue

jcesarmobile avatar Aug 21 '19 18:08 jcesarmobile