mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-18 13:28:48 +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)) {
|
|| (config.selectKeys || []).includes(e.keyCode)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (!dropdownContainer.hasClass('open')) {
|
||||||
|
dropdownContainer.find('.input-field').focus();
|
||||||
|
}
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
loadData(selectElement, dropdownContainer);
|
loadData(selectElement, dropdownContainer);
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue