From 4992fc902eae207737be33e5b937980b4765bbf7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=CC=88rn=20Zaefferer?= Date: Tue, 3 Dec 2013 12:50:25 +0100 Subject: [PATCH] Menu: Add ui-front on submenus to address opacity messing up stacking order. Fixes #9650 - Menu: Disabled item visible through submenu on top --- tests/visual/menu/menu.html | 13 +++++++++++-- ui/jquery.ui.menu.js | 4 ++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/tests/visual/menu/menu.html b/tests/visual/menu/menu.html index 1c203ef12..4e322130a 100644 --- a/tests/visual/menu/menu.html +++ b/tests/visual/menu/menu.html @@ -15,7 +15,15 @@ $( "

" ).text( "Selected: " + ui.item.text() ).appendTo( "#log" ); } - $( "#menu1, #menu2, #menu3, .menu4" ).menu({ + $( "#menu1, #menu3, .menu4" ).menu({ + select: logger + }); + + $( "#menu2" ).menu({ + position: { + my: "left top", + at: "left+10 top-20" + }, select: logger }); @@ -39,6 +47,7 @@