mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-27 20:14:57 +02:00
UBERF-5626: set autofocus end on message edit (#4784)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
export let boundary: HTMLElement | undefined = undefined
|
||||
export let loading = false
|
||||
export let collection: string = 'comments'
|
||||
export let autofocus = false
|
||||
|
||||
type MessageDraft = Pick<ChatMessage, '_id' | 'message' | 'attachments'>
|
||||
|
||||
@@ -186,6 +187,7 @@
|
||||
bind:objectId={_id}
|
||||
{shouldSaveDraft}
|
||||
{boundary}
|
||||
{autofocus}
|
||||
on:message={onMessage}
|
||||
on:update={onUpdate}
|
||||
on:focus
|
||||
|
||||
Reference in New Issue
Block a user