diff --git a/packages/ui/src/components/EditBox.svelte b/packages/ui/src/components/EditBox.svelte index 040a1fb52f..bf2c52bda8 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 78280eb0c8..fd41dc1985 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 6b1b884496..46c88979c0 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 b49a3fe699..f3dc1febc6 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 a7c64027d9..c461fbda2e 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 @@