From 63c72c2bfd5c08539bc5590beac80153fa2ec1db Mon Sep 17 00:00:00 2001 From: Felix Nagel Date: Sat, 16 Apr 2011 18:07:45 +0200 Subject: [PATCH] fixed: select option when tabbing out of opened menu, thx to mjt5v, see https://github.com/fnagel/jquery-ui/issues/98 --- ui/jquery.ui.selectmenu.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index 9cd018477..a5992b1a4 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -218,6 +218,7 @@ $.widget("ui.selectmenu", { case $.ui.keyCode.TAB: ret = true; self.close(event, true); + $(event.target).parents('li:eq(0)').trigger('mouseup'); break; case $.ui.keyCode.ESCAPE: self.close(event, true); -- 2.39.5