From 6e1ae06bebf664b6f2aa46f48b877ebe04ba889a Mon Sep 17 00:00:00 2001 From: Denis Bunakalya Date: Wed, 11 Jan 2023 09:16:19 +0300 Subject: [PATCH] Forward focus in AttachmentStyledBox (#2499) Signed-off-by: Denis Bunakalya --- .../src/components/AttachmentStyledBox.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/attachment-resources/src/components/AttachmentStyledBox.svelte b/plugins/attachment-resources/src/components/AttachmentStyledBox.svelte index 0f247f0330..a8d4a31a8f 100644 --- a/plugins/attachment-resources/src/components/AttachmentStyledBox.svelte +++ b/plugins/attachment-resources/src/components/AttachmentStyledBox.svelte @@ -299,6 +299,7 @@ on:changeSize on:changeContent on:blur + on:focus on:attach={() => { if (fakeAttach === 'fake') dispatch('attach', { action: 'add' }) else if (fakeAttach === 'normal') attach()