Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49313

How to select text via native OS?

$
0
0

So we have a chat app.
The user wants to select a text, and copy the message, or just a word, or part of the word (just when he types in the input or textarea).

But it is not possible apparently to select text inside div or , as someone said, Ionic captures that event or something like that…

How to make it work?

UPD:

I found a solution on the web, we need to create a css class .selectable and attach it to the element we want to select… ( user-select: text).

But now the problem is - I can select text, but I cannot dismiss it by tapping anywhere outside that… how to do that?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 49313

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>