Search and Top Navigation
#9380 closed bug (notabug)
Opened June 17, 2013 11:22PM UTC
Closed June 18, 2013 02:45AM UTC
JQuery UI Menu position only apply to first level menus and not to submenus
Reported by: | ilagi | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.menu | Version: | 1.10.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
It seems that the position option only applies to the first level of submenus and not second level.
Take a look at the below example and try to open Save Filters / Item 3 - 1 / Open.
"Open" should have showed on the left and not on the right as position is set to: "my": "left top"
Attachments (0)
Change History (1)
Changed June 18, 2013 02:45AM UTC by comment:1
resolution: | → notabug |
---|---|
status: | new → closed |
You are telling the first submenu's
to be placed at the of the main menu. This position is off the screen, so the position utility flips the first submenu (because the default value of is used).The 2nd submenu's
does fit at the of the 1st submenu, so it is placed there. This is all expected behavior.It's a little easier to see when the menu is not floating to the right and the menus all fit: http://jsfiddle.net/tj_vantoll/tAH6a/.