Forward focus in AttachmentStyledBox (#2499)

Signed-off-by: Denis Bunakalya <denis.bunakalya@xored.com>
This commit is contained in:
Denis Bunakalya 2023-01-11 09:16:19 +03:00 committed by GitHub
parent 3422207ffa
commit 6e1ae06beb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()