# Is making a div text selectable an impossible task with ionic?

**URL:** <https://forum.ionicframework.com/t/is-making-a-div-text-selectable-an-impossible-task-with-ionic/34299>\
**Category:** ionic-v1\
**Created:** [October 10, 2015, 4:39am UTC](https://forum.ionicframework.com/t/is-making-a-div-text-selectable-an-impossible-task-with-ionic/34299 "2015-10-10T04:39:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![temari](https://avatars.discourse-cdn.com/v4/letter/t/dfb087/32.png) [@temari](https://forum.ionicframework.com/u/temari)\
**Post date:** [October 10, 2015, 4:39am UTC](https://forum.ionicframework.com/t/is-making-a-div-text-selectable-an-impossible-task-with-ionic/34299/1 "2015-10-10T04:39:36Z")

</div>

Hi I am a new ionic user and I successfully implemented an app with ionic. Great! My app lists search results in a div and the user should be able to select the result texts so that he/she can copy and use it elsewhere. After searching the internet and also the forum no solution seems to work for me to make a text selectable and show the standard copy/paste buttons. Is this an impossible task to do with ionic or is there a workaround I have not yet found?

Btw, I am now testing my app on android.

---

<div class="post-metadata">

**Author:** ![tushar4ic](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/tushar4ic/32/93135_2.png) [@tushar4ic](https://forum.ionicframework.com/u/tushar4ic)\
**Post date:** [October 13, 2015, 7:43am UTC](https://forum.ionicframework.com/t/is-making-a-div-text-selectable-an-impossible-task-with-ionic/34299/2 "2015-10-13T07:43:31Z")

</div>

Did you get any solution to that ? I’m trying to do same thing on android using ionic inside an ion-item but not able to find any solution.

Thanks,

- Tushar

---

<div class="post-metadata">

**Author:** ![temari](https://avatars.discourse-cdn.com/v4/letter/t/dfb087/32.png) [@temari](https://forum.ionicframework.com/u/temari)\
**Post date:** [October 14, 2015, 3:03pm UTC](https://forum.ionicframework.com/t/is-making-a-div-text-selectable-an-impossible-task-with-ionic/34299/3 "2015-10-14T15:03:56Z")

</div>

Yes I have. I used the answer given [here](http://forum.ionicframework.com/t/how-to-make-text-selectable/4384) but instead of the following CSS:

> [@How to make text selectable?](https://forum.ionicframework.com/t/how-to-make-text-selectable/4384/2):
>
> .scroll {  
> -webkit-user-select: text;  
> -moz-user-select: text;  
> -ms-user-select: text;  
> user-select: text;  
> }

I use this:

> \* {  
> -webkit-user-select: auto !important;  
> -moz-user-select: auto !important;  
> -ms-user-select: auto !important;  
> user-select: auto !important;  
> }

---

<div class="post-metadata">

**Author:** ![tushar4ic](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/tushar4ic/32/93135_2.png) [@tushar4ic](https://forum.ionicframework.com/u/tushar4ic)\
**Post date:** [October 21, 2015, 1:00pm UTC](https://forum.ionicframework.com/t/is-making-a-div-text-selectable-an-impossible-task-with-ionic/34299/4 "2015-10-21T13:00:38Z")

</div>

Thanks @temari for your reply.  
I will give it a try.
