mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 17:23:02 +00:00
Merge pull request #2051 from asolove/1934-safari-combobox
Fix for Safari selection bug in combo box
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user