diff --git a/js/lib/d3.combobox.js b/js/lib/d3.combobox.js index 7a5473472..9b169374d 100644 --- a/js/lib/d3.combobox.js +++ b/js/lib/d3.combobox.js @@ -99,6 +99,8 @@ d3.combobox = function() { input.on('input.typeahead', function() { idx = -1; render(); + var start = input.property('selectionStart'); + input.node().setSelectionRange(start, start); input.on('input.typeahead', change); }); break;