Templarian / ui.bootstrap.contextMenu

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

Issue #4: keep context menu on screen #35

Closed madmas closed 8 years ago

madmas commented 8 years ago

Implementation to keep contextmenu on screen as described in issue #4

See example at http://plnkr.co/BFvznMsX41msPsUw4vbJ

Templarian commented 8 years ago

Looks good!

I guess the only issue after this would be to make sure that nested menu's can open to the left if needed, but this fix will solve the issue for single level menus very nicely.

jurgenvo commented 8 years ago

What is the timeline on releasing this feature? Looking forward to using this!

madmas commented 8 years ago

I think you can already use it, just recerence the commit directly in your dependencies:

  "dependencies": {
    "angular-bootstrap-contextmenu": "https://github.com/Templarian/ui.bootstrap.contextMenu.git#c774413a3394a03993385912ef983732b2d59f07",
}

:-)