-
Notifications
You must be signed in to change notification settings - Fork 579
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
Context-Menu #81
Comments
great! |
Nice! But it doesn't seem to work for mobile. |
@citrusui Sorry but I don't think that Photon was made for mobile hybrid apps. To use a desktop app logic within a mobile app is a really bad idea. And Photon is not designed for such a use case. Photon tries to clone the native UI of Mac OS X for native looking desktop apps in Atom. |
Well yeah, Electron doesn't support iOS but since the context menu is all HTML, theoretically it should work on mobile. |
@citrusui I think the problem is that on iOS or Android exists nothing similar. It works on mobile except the "sub-context-menus" because of a OS X context menu uses a mouse-over. |
Context menu is already possible using native Electron menu. Please see issue #90. |
Native looking context-menu
https://github.com/MauriceConrad/context-menu
(JSFiddle: https://jsfiddle.net/3rvxy92k/)
I've created a native looking context-menu CSS component.

There's no controller, just plain CSS:
minimal-example
sub-context-menu example
How to use it?
It's really simple. Already study the JSFiddle or the example.html should explain everything.
But of course in the README.md everything is explained.
Documentation
https://github.com/MauriceConrad/context-menu/blob/master/README.md
The text was updated successfully, but these errors were encountered: