I was looking for a way to position submenus manually in situations when large menus are involved. Currently a menu with a bunch of submenus could go all the way down the screen (
http://d.pr/i/J0bE) (or all the way up, if it begins in bottom of window, assuming single-page application). In those cases it would make more sense to have something like this
http://d.pr/i/sre7 but without submenuopen event submenus get a bit shaky. Either positioning happens too soon or too late and setTimeout( function(){}, $.ui.menu.prototype.delay); in focus event doesn't do the trick every time. As for the submenuclose event, I don't really have a use case, just thought it would make sense with submenuopen present.