-
5 Jan 2012 1:39 AM #1
Selecting HTML content on touch devices
Selecting HTML content on touch devices
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...
-
5 Jan 2012 7:51 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,107
- Vote Rating
- 453
You will need to override the CSS rule that we add:
Code:-webkit-user-select : none !important;
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
5 Jan 2012 8:49 PM #3
-
7 Jan 2012 5:15 PM #4
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
-
7 Jan 2012 7:48 PM #5Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,107
- Vote Rating
- 453
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
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.


Reply With Quote