mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
Remove the code to autofocus raw tag editor in text mode
(closes #6685)
This commit is contained in:
@@ -144,14 +144,6 @@ export function uiRawTagEditor(context) {
|
||||
.on('blur', textChanged)
|
||||
.on('change', textChanged);
|
||||
|
||||
// If All Fields section is hidden, focus textarea and put cursor at end..
|
||||
var fieldsExpanded = d3_select('.hide-toggle-preset_fields.expanded').size();
|
||||
if (_state !== 'hover' && _tagView === 'text' && !fieldsExpanded) {
|
||||
var element = textarea.node();
|
||||
element.focus();
|
||||
element.setSelectionRange(textData.length, textData.length);
|
||||
}
|
||||
|
||||
|
||||
// View as List
|
||||
var list = wrap.selectAll('.tag-list')
|
||||
|
||||
Reference in New Issue
Block a user