diff --git a/public/js/chrome/navigation.js b/public/js/chrome/navigation.js
index <HASH>..<HASH> 100644
--- a/public/js/chrome/navigation.js
+++ b/public/js/chrome/navigation.js
@@ -49,7 +49,7 @@ function opendropdown(el) {
   var menu;
   if (!dropdownOpen) {
     menu = $(el).closest('.menu').addClass('open').trigger('open');
-    var input = menu.find('input:first').focus()[0];
+    var input = menu.find('input:visible:first').focus()[0];
     if (input) setTimeout(function () {
       input.select();
     }, 0);
correctly select/set focus on the first _visible_ input element on form based menus (like login)