Remove the code to autofocus raw tag editor in text mode

(closes #6685)
This commit is contained in:
Bryan Housel
2020-01-06 12:01:13 -05:00
parent fa675c3b13
commit a54561ce75

View File

@@ -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')