Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Click hold on a button & copy dialog box opens

Hi there,

I'm trying to find a way to prevent this default action.

Clicking buttons is fine. But if I press and hold the button, an apple dialog box opens with "file:///var/etc." (ie. the link to that page). Then 3 buttons: Open, Copy, Cancel.

Here's a visual: http://bit.ly/ao2FxU

Is there any way to prevent this?

Thanks!

— asked November 10th 2010 by Glen McPherson
  • button
  • click
  • copy
  • iphone
  • link
0 Comments

1 Answer

  • In titanium you cant but on web site, Try this;

    / behavior /
    -webkit-user-select: none; / disable cut copy paste /

    -webkit-touch-callout: none; / disable callout, image save panel /

    -webkit-tap-highlight-color: transparent; / "turn off" link highlight /

    — answered January 19th 2012 by Onur C.
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.