Allow tabbing beyond the raw tag editor (close #4233)

This commit is contained in:
Quincy Morgan
2019-09-26 22:19:18 +02:00
parent c88f2cb43c
commit 3f69988db8
+3 -1
View File
@@ -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();
}
}