baker icon indicating copy to clipboard operation
baker copied to clipboard

Selection Disabled

Open usaps opened this issue 15 years ago • 3 comments

Hi All,

I'm just wondering if you came by this issue: the selection "box" & the magnifier over the images (please see images below)

screen shot 1

screen shot 2

Would be great to be able to disable it, if possible of course,

best regards

jero

usaps avatar Jun 02 '11 21:06 usaps

It should be this CSS command: -webkit-user-select: none;

Source: http://stackoverflow.com/questions/923782/disable-the-text-highlighting-magnifier-on-touch-hold-on-mobile-safari-webkit

Tell us if it works. :)

folletto avatar Jun 02 '11 21:06 folletto

Hey... as always it needed to be mixed.. .this is the answer:

on the styles.css file find the body and my code looked like this:

body {
    margin: auto;
    -webkit-tap-highlight-color: #d3f9f2

    /* Disable selection/Copy of UIWebView */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
}

that's cool for me,

thank you!

usaps avatar Jun 02 '11 21:06 usaps

Great!

Thank you. :)

folletto avatar Jun 02 '11 22:06 folletto