The autofocus behavior of the updated drop-downs conflict with the _blur() behavior
authorAlexander Ebert <ebert@woltlab.com>
Wed, 18 Dec 2019 17:26:03 +0000 (18:26 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 18 Dec 2019 17:26:03 +0000 (18:26 +0100)
wcfsetup/install/files/js/WCF.Location.js

index fec9bca6505ffcac904a2c760b6ce743210898aa..73dd56156fa5b788a942cb69054fa4fc35e266a7 100644 (file)
@@ -835,7 +835,7 @@ WCF.Location.GoogleMaps.LocationSearch = WCF.Search.Base.extend({
                
                var $containerID = this._searchInput.parents('.dropdown').wcfIdentify();
                if (!WCF.Dropdown.getDropdownMenu($containerID).hasClass('dropdownOpen')) {
-                       WCF.Dropdown.toggleDropdown($containerID);
+                       WCF.Dropdown.toggleDropdown($containerID, true);
                }
                
                // pre-select first item