From 7ad2931ddf93a858864f7e8b010b48401e1ccada Mon Sep 17 00:00:00 2001 From: Pavel Sysolyatin Date: Thu, 15 Jan 2015 13:48:10 +0600 Subject: [PATCH] Show filtered menu if search input placed in menu. --- src/definitions/modules/dropdown.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/definitions/modules/dropdown.js b/src/definitions/modules/dropdown.js index f9ea601d5..e80a0843c 100644 --- a/src/definitions/modules/dropdown.js +++ b/src/definitions/modules/dropdown.js @@ -219,7 +219,10 @@ $.fn.dropdown = function(parameters) { ? callback : function(){} ; - if( module.can.show() && !module.is.active() && !module.is.allFiltered() ) { + if( module.is.searchSelection() && module.is.allFiltered() ) { + return; + } + if( module.can.show() && !module.is.active() ) { module.debug('Showing dropdown'); module.animate.show(function() { if( module.can.click() ) {