swisnl / jQuery-contextMenu

jQuery contextMenu plugin & polyfill
https://swisnl.github.io/jQuery-contextMenu/
MIT License
2.25k stars 746 forks source link

set direction for submenu #609

Closed eman1986 closed 6 years ago

eman1986 commented 6 years ago

seems like submenus always go to the right, but in some cases I'm seeing things got lost by the browser if the context button is too far to the right of the screen, so an option to set it to go to the left would be of great help.

bbrala commented 6 years ago

If you include the jquery.ui.position.min.js file it should be a lot smarter about opening inside the window at all times. :)

eman1986 commented 6 years ago

good to know, that fixed it