diff --git a/inventory/static/js/dropdown.js b/inventory/static/js/dropdown.js index 2871b09..54c3754 100644 --- a/inventory/static/js/dropdown.js +++ b/inventory/static/js/dropdown.js @@ -38,6 +38,10 @@ const DropdownWidget = (() => { const availableHeight = menuHeight - inputHeight; dropdownContent.style.maxHeight = `${availableHeight}px`; + + setTimeout(() => { + searchInput.focus(); + }, 1); }); });