From 3f69988db8a792c8dd5e51469a11a0978390c772 Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Thu, 26 Sep 2019 22:19:18 +0200 Subject: [PATCH] Allow tabbing beyond the raw tag editor (close #4233) --- modules/ui/raw_tag_editor.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/ui/raw_tag_editor.js b/modules/ui/raw_tag_editor.js index 1e28ec7f1..0242402e5 100644 --- a/modules/ui/raw_tag_editor.js +++ b/modules/ui/raw_tag_editor.js @@ -364,8 +364,10 @@ export function uiRawTagEditor(context) { function pushMore() { + // if pressing Tab on the last value field with content, add a blank row if (d3_event.keyCode === 9 && !d3_event.shiftKey && - list.selectAll('li:last-child input.value').node() === this) { + list.selectAll('li:last-child input.value').node() === this && + utilGetSetValue(d3_select(this))) { addTag(); } }