Templarian / ui.bootstrap.contextMenu

AngularJS Bootstrap UI Context Menu
MIT License
259 stars 127 forks source link

ContextMenu not working on touch devices #9

Open igwtsoftware opened 9 years ago

igwtsoftware commented 9 years ago

Great library! Any way to add click(touchstart) for touch devices?

Thanks! JC

Templarian commented 9 years ago

I assume you mean you want the user to hold down and on release it would open the context menu?

I currently don't own any other tablets to try this on. My Surface Pro clicking and holding opens the context menu as expected. I might need a pull request that fixes this.

Context menu's are kind of odd for tablet targeted applications. Do you have an idea of how this should work?

perfumer commented 8 years ago

Not working on iOS devices

glaidler commented 8 years ago

This would be easily(!?) solved by adding support for opening the menu on left-click. This would make it work on tablets. If you can point me to where it distinguishes right button in the code I can pull-request.

Templarian commented 8 years ago

@glaidler https://github.com/Templarian/ui.bootstrap.contextMenu/blob/master/contextMenu.js#L279

Ruud-cb commented 8 years ago

On android in Chrome it works, IOS still not working (safari). This is probably due Apple's "force touch". Would be nice to see a fix, but perhaps it is even better to show the menu in an app-way. Thus opening a side menu or something?

raviji commented 7 years ago

Yes am also stuck on this... any help would be appreciate

karishma2 commented 7 years ago

Hi , Not working on iOS devices . Any help would be appreciated.

Templarian commented 7 years ago

I don't have an iOS device to test this on. Still kind of waiting for a pull request or a way to handle this for their proprietary (?) touch API's.