PDA

View Full Version : Selecting HTML content on touch devices



pm.sreejith
5 Jan 2012, 1:39 AM
Hi All,

I have developed an application by using ST2.0 Pr2 with MVC architecture. Now, I want to implement functionalities like highlighting, adding annotations etc...
I was tried with ST2.0, but I haven't achieved.

Is it possible to do with ST2.0??

Please let me know, if anyone have solution...:-?

Advance Thanks...:)

mitchellsimoens
5 Jan 2012, 7:51 AM
You will need to override the CSS rule that we add:


-webkit-user-select : none !important;

pm.sreejith
5 Jan 2012, 8:49 PM
You will need to override the CSS rule that we add:


-webkit-user-select : none !important;

Thanks for your reply. But mitchellsimoens, it was not working with IPad / IPod devices...
Any other way to achieve it...

deepaknair.g
7 Jan 2012, 5:15 PM
Hi,
I had the same problem.overriding css as{
-webkit-user-select : auto !important;} makes the think works only on desktop.How can we achieve the same in ipad/ipod?Thanks

mitchellsimoens
7 Jan 2012, 7:48 PM
There are 2 CSS rules that could be preventing this but overriding those to allow selecting still doesn't work so I'm thinking this is also the same problem that you can't tap on links... We are capturing the tap event