Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Contributor
Posts: 36
Registered: ‎04-06-2010
My Device: Bold 9700
My Carrier: AT&T

"taphold" context menu in PlayBook WebWorks app

I was clicking around in the 0.9.4 simulator on my very pretty jQuery Mobile styled buttons.  I ended up holding the mouse left click down and got the following context menu to appear.  

 

Copy

Cancel Selection

Open Link in New Tab

Add Link to Bookmarks

Copy Link

Open Link

 

This would be greate if any of the internal links in my WebWorks app could function outside of the app (e.g. in the browser).  It seems that only Copy and Cancel Selection make sense.  Is there a way to turn this off?  I will probably take this stock CSS for disabling user selection and try it, but thought I would throw it out to the forums first.

 

 

 

.unselectable {
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    user-select: none;
}

 

 

Developer
Posts: 33
Registered: ‎03-04-2011
My Device: PlayBook

Re: "taphold" context menu in PlayBook WebWorks app

[ Edited ]

I'd never noticed this before. Selecting "Open link in a new tab" actually crashes the app!

Retired
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: "taphold" context menu in PlayBook WebWorks app

We are currently working with the Browser team on this issue.

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
New Developer
Posts: 23
Registered: ‎02-10-2011
My Device: PlayBook

Re: "taphold" context menu in PlayBook WebWorks app

The CSS workaround still doesn't work in Simulator 2.0. Is there anything at all we can do about this?

/bw
Developer
Posts: 1,280
Registered: ‎03-03-2011
My Device: Playbook, Z10, Q10, Z30 with Files & Folders and Orbit of course
My Carrier: Vodafone

Re: "taphold" context menu in PlayBook WebWorks app

[ Edited ]

Looks like "-webkit-user-select:none" no longer functions correctly in 10.2.0.1767. The popup/crosscut menus don't appear, but a "teardrop" indicator does. In fact it persists through navigation, reloads, until the browser or Webworks app is closed.

 

Example:

http://innovatology.nl/clients/rim/bb10/cssbug2/

 

JIRA:

https://www.blackberry.com/jira/browse/BBTEN-1962

Files & Folders, the unified file & cloud manager for PlayBook and BB10 with SkyDrive, SugarSync, Box, Dropbox, Google Drive, Google Docs. Free 3-day trial! - Jon Webb - Innovatology - Utrecht, Netherlands