Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tap to open, tap again to select #10

Closed
ersel opened this issue Nov 15, 2014 · 2 comments
Closed

Tap to open, tap again to select #10

ersel opened this issue Nov 15, 2014 · 2 comments

Comments

@ersel
Copy link

ersel commented Nov 15, 2014

I have made a few changes to let menu stay open after user right-clicks on a node. However, selecting does not work. Current events are working only if user is hovering on a node.
I can see this is due to options.selector being set to 'node', is there a way to watch mousemove events on the cytoscape grid?

https://github.com/ersel/cytoscape.js-cxtmenu

@MissChocoe
Copy link

I'd really like a contextual menu that behaves more like a traditional contextual menu. So as requested here it stays open and user go click with the left button on the item they want. On touch device, the contextual menu shows when you hold your finger on something. For me the two fingers approach doesn't work, my nodes are too small...

@maxkfranz maxkfranz changed the title letting menu stay open, selections does not work. Double tap instead of swipe Mar 17, 2015
@maxkfranz maxkfranz changed the title Double tap instead of swipe Tap to open, tap again to select Mar 17, 2015
@maxkfranz
Copy link
Member

Two taps pretty much defeats the purpose of having a radial menu -- the swipe gestures no longer function. In this case, you may as well hook in a traditional list context menu with Cytoscape.js. There are lots of libraries that do traditional menus, and it would be simple to create an extension for whichever one suits you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants