mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-14 17:52:55 +00:00
Do not show combobox if input has lost focus
This commit is contained in:
@@ -187,7 +187,8 @@ d3.combobox = function() {
|
||||
|
||||
function render(data) {
|
||||
|
||||
if (data.length) show();
|
||||
if (data.length &&
|
||||
document.activeElement === input.node()) show();
|
||||
else hide();
|
||||
|
||||
autocomplete(e, data);
|
||||
|
||||
Reference in New Issue
Block a user