Results 1 to 5 of 5

Thread: Selecting HTML content on touch devices

  1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    30
    Vote Rating
    0
      0  

    Question 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...

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,029
    Vote Rating
    1367
      0  

    Default

    You will need to override the CSS rule that we add:

    Code:
    -webkit-user-select : none !important;
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Oct 2011
    Posts
    30
    Vote Rating
    0
      0  

    Default

    Quote Originally Posted by mitchellsimoens View Post
    You will need to override the CSS rule that we add:

    Code:
    -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...

  4. #4
    Sencha User
    Join Date
    Oct 2011
    Posts
    24
    Vote Rating
    0
      0  

    Default

    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

  5. #5
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,029
    Vote Rating
    1367
      0  

    Default

    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 @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •