diff --git a/js/lib/d3.combobox.js b/js/lib/d3.combobox.js index 7d35d9434..98cc2949c 100644 --- a/js/lib/d3.combobox.js +++ b/js/lib/d3.combobox.js @@ -65,6 +65,10 @@ d3.combobox = function() { position: 'absolute', display: 'block', left: '0px' + }) + .on('mousedown', function () { + // prevent moving focus out of the text field + d3.event.preventDefault(); }); d3.select(document.body)