-
Notifications
You must be signed in to change notification settings - Fork 127
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
Feature: Menu position offset #4
Comments
Maybe something more along the lines of an anchor ability. <any context-menu="" context-menu-anchor="top left"></any> Where default - Calculate based on position and contextmenu size.
bottom right
bottom left
top right
top left Would be a nice idea to have in the future. |
Yup. Something like this http://angular-ui.github.io/bootstrap/#/popover |
Yep. Now we wait for someone to make a pull request, or me to get bored enough to code it. 😸 |
Give me the spec on how to do it. I will make a PR On Tue, Feb 10, 2015 at 12:06 PM, Austin Andrews [email protected]
Thanks, nobal.in | @nobalmohan https://twitter.com/NobalMohan |
There are two use-case here: 1. Positioning of the pop-up 2. Making it On Tue, Feb 10, 2015 at 7:09 PM, Nobal Mohan [email protected] wrote:
Thanks, nobal.in | @nobalmohan https://twitter.com/NobalMohan |
Correct. I'm working on client work tonight. Will type out a spec of what it should look like/features tomorrow. 😅 |
So basically it will support the following locations... I'm not 100% sure the best way to implement this. Basically:
That is the basic idea. |
Thankns. This snippet will be helpful On Sat, Feb 14, 2015 at 1:14 PM, Austin Andrews [email protected]
Thanks, nobal.in | @nobalmohan https://twitter.com/NobalMohan |
👍 this would be very helpful; any progress so far? :) |
Nope. Working on other open source projects at the moment. Now that nested menus are in this would be the next feature to add I think. Definitely would take a pull request, but I'm probably not going to add this functionality for a while until I need it myself. |
…f it is opened at bottomor left boundaries.
Here it is :-) Didn't look at submenues for the first version ;) |
Issue #4: keep context menu on screen
Looks awesome. I'm going to leave this issue opened to track the progress for nested menu's, but simply having support for single level will solve most users issue (nesting wasn't supported when this issue was created). If anyone sees this and wants to pull request that functionality I'll definitely merge it. 😄 |
Cool thing, very happy to see it got merged so quickly 👍 |
Yea, should have time later today after my run (I have a few other minor features to edit in before I tag it for a release). Busy working on my other open source project for the next few hours. |
Cool, looking forward to it ;-) |
In SPA with fixed height, there should be an option to position the menu via CSS class or by JS.
The text was updated successfully, but these errors were encountered: