Copy Text from <div> elements - Works on Android but not on Windows Universal App


#1

Hi All,

I have the following defined in *.scss file

.selectable{
-webkit-user-select: text;
-ms-user-select: element;
}

In *.html - I have the following div element

< div class=“item item-text-wrap selectable” >
< pre >{{details}} < /pre >
< /div>

The

contents are selectable in Android but on Windows - not able to select the contents.
Any thoughts or suggestions for making it work on Windows (Universal Apps) as well.

Thanks,
Sankaranarayanan MG


#2

Nevermind - it works as expected.
(Earlier another definition of .selectable was overriding my test code which was preventing copy text).