diff --git a/packages/ui/src/components/EditBox.svelte b/packages/ui/src/components/EditBox.svelte index 040a1fb52fa..bf2c52bda81 100644 --- a/packages/ui/src/components/EditBox.svelte +++ b/packages/ui/src/components/EditBox.svelte @@ -68,11 +68,15 @@ computeSize(input) }) + export function focusInput () { + input?.focus() + } + // Focusable control with index export let focusIndex = -1 const { idx, focusManager } = registerFocus(focusIndex, { focus: () => { - input?.focus() + focusInput() return input != null }, isFocus: () => document.activeElement === input diff --git a/plugins/tracker-resources/src/components/CreateIssue.svelte b/plugins/tracker-resources/src/components/CreateIssue.svelte index 78280eb0c82..fd41dc19853 100644 --- a/plugins/tracker-resources/src/components/CreateIssue.svelte +++ b/plugins/tracker-resources/src/components/CreateIssue.svelte @@ -13,9 +13,9 @@ // limitations under the License. --> {#if value} - + handleAssigneeChanged(detail)} diff --git a/plugins/tracker-resources/src/components/issues/StatusEditor.svelte b/plugins/tracker-resources/src/components/issues/StatusEditor.svelte index 6b1b8844967..46c88979c06 100644 --- a/plugins/tracker-resources/src/components/issues/StatusEditor.svelte +++ b/plugins/tracker-resources/src/components/issues/StatusEditor.svelte @@ -13,7 +13,8 @@ // limitations under the License. --> {#if value} {#if isEditable} - + + + +
+
+ (newIssue.status = detail)} + /> +
+ +
+ +
+
+
+
+
+ + (newIssue.assignee = detail)} + /> +
+
+
+
+
+ + diff --git a/plugins/tracker-resources/src/components/issues/edit/EditIssue.svelte b/plugins/tracker-resources/src/components/issues/edit/EditIssue.svelte index b49a3fe699c..f3dc1febc62 100644 --- a/plugins/tracker-resources/src/components/issues/edit/EditIssue.svelte +++ b/plugins/tracker-resources/src/components/issues/edit/EditIssue.svelte @@ -239,7 +239,9 @@ {/if}
- + {#key issue._id} + + {/key}
{/if} diff --git a/plugins/tracker-resources/src/components/issues/edit/SubIssues.svelte b/plugins/tracker-resources/src/components/issues/edit/SubIssues.svelte index a7c64027d9c..c461fbda2e1 100644 --- a/plugins/tracker-resources/src/components/issues/edit/SubIssues.svelte +++ b/plugins/tracker-resources/src/components/issues/edit/SubIssues.svelte @@ -15,14 +15,16 @@