mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-31 04:32:06 +08:00
Fix issue opening dropdown when typing [SCI-9172] (#6171)
This commit is contained in:
parent
8c3ff1813a
commit
1631de67ea
1 changed files with 3 additions and 0 deletions
|
@ -381,6 +381,9 @@ var dropdownSelector = (function() {
|
|||
|| (config.selectKeys || []).includes(e.keyCode)) {
|
||||
return;
|
||||
}
|
||||
if (!dropdownContainer.hasClass('open')) {
|
||||
dropdownContainer.find('.input-field').focus();
|
||||
}
|
||||
e.stopPropagation();
|
||||
loadData(selectElement, dropdownContainer);
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue