From 9db67c25583f85a33886ab9cf5759b5bfe935e64 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sun, 10 Jul 2016 18:36:23 +0200 Subject: [PATCH] Close interactive dropdowns when search bar is open --- wcfsetup/install/files/js/WoltLab/WCF/Ui/Page/Header/Fixed.js | 1 + 1 file changed, 1 insertion(+) diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Page/Header/Fixed.js b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Page/Header/Fixed.js index 43144662b3..e2a6933828 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Page/Header/Fixed.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Page/Header/Fixed.js @@ -74,6 +74,7 @@ define(['Core', 'EventHandler', 'Ui/Alignment', 'Ui/CloseOverlay', 'Ui/Screen', }); _pageHeader.classList.add('searchBarOpen'); + WCF.Dropdown.Interactive.Handler.closeAll(); searchInput.focus(); } }); -- 2.20.1